Using livegrid how to change button label on column with columnType ctButton editor etEdit

The button label is Bu... How can I change it to Btn

Thanks
Garnet

You can use the following code

procedure TForm1.TMSFMXGrid1GetCellProperties(Sender: TObject; ACol,
  ARow: Integer; Cell: TFmxObject);
begin
  if Cell is TTMSFMXButtonGridCell then
    (Cell as TTMSFMXButtonGridCell).Button.Text := 'btn';
end;

This topic was automatically closed 60 minutes after the last reply. New replies are no longer allowed.