xe7.1 lastest grid version
Hi
I am using the TMS Grid with Livebinding in FMX.
I have the following questions:
1) Can I change the column alignment visually? or I need to write code for that?
2) Is it possible to have 2 lines for EACH row? I needed that the second line to be the description that is long
3) How is done column sum on footer?
Thanks
Pieter
(Pieter)
March 3, 2015, 2:19pm
3
Hi,
1) You can drag columns by setting TMSFMXGrid1.Options.Mouse.ColumnDragging to true.
2) 2 lines for each cell can be done by adding a #13 #10.
3) You can take a look at the Grouping demo that is included in the distribution.
4) You can override the default font style with the following code:
procedure TForm1.TMSFMXGrid1GetCellLayout(Sender: TObject; ACol,
ARow: Integer; ALayout: TTMSFMXGridCellLayout; ACellState: TCellState);
begin
ALayout.FontFill.Color := claBlack;
end;
Kind Regards,
Pieter