In TTMSFNCDataGrid Boolean-Fields are still editable when Options.Editing.Enabled is set to False. On iOS the Grid is displayed weird when such a Field is changed.
Sample_Editing.zip (13.8 KB)
In TTMSFNCDataGrid Boolean-Fields are still editable when Options.Editing.Enabled is set to False. On iOS the Grid is displayed weird when such a Field is changed.
Sample_Editing.zip (13.8 KB)
Hi,
Technically Boolean fields are mapped on controls, and need to be handled separately. To disable editing the Boolean field, you need to set
procedure TForm1.TMSFNCDataGrid1GetCellProperties(Sender: TObject;
ACell: TTMSFNCDataGridCell);
begin
if Assigned(ACell.Control) then
ACell.Control.Enabled := False;
end;
We'll see if we can add a separate project for this.
This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.