Hi
a Fmx grid question: how do I add TDateTime column data to a FmxGrid ? I can't fin an example or nothing in the doc.
I can do it like Grid.Cells[10,10] := formattedDateTime
but then sorting on that column will fail because it does an alphabet search.
If I do this I get an conversion exception.
procedure TFormVisitorOrderHistory.GridHistorySortFormat(Sender: TObject; Col: Integer; var SortFormat: TSortFormat;
var APrefix, ASuffix: string);
begin
if col = 3 then
SortFormat := ssDate;
end;
So what's the way to go?
Thanks,