Hi,
I used the demo and testet it with different column types.
When I am using only TNxTextColumn6 types and set in OnGetCell some columns AsBoolean, AsInteger and AsFloat then the values are not displayed correctly.
Do I have to use TNxNumberColumn6 when using AsFloat or AsInteger?
Or why there is a problem when using TextColumn?
MyCode is:
procedure TForm6.NxVirtualCellSource61GetCell(Sender: TObject; ACol, ARow: Integer; Cell: INxCell);
begin
var lItem := FList[ARow];
if ACol = 0 then Cell.AsBoolean := lItem.Col1;
if ACol = 1 then Cell.AsInteger := lItem.Col2;
if ACol = 2 then Cell.AsFloat := lItem.Col3;
if ACol = 3 then Cell.AsString := lItem.Col4;
end;
See the attached screenshots.
P.S: Please move to NextGrid6 topic