How can I limit the length of text being entered into string cells in a TTMSFNCDataGrid ?
Hi, you can achieve this with
procedure TForm1.TMSFNCDataGrid1GetInplaceEditorProperties(Sender: TObject;
ACell: TTMSFNCDataGridCellCoord; AInplaceEditor: TTMSFNCDataGridInplaceEditor;
AInplaceEditorType: TTMSFNCDataGridInplaceEditorType);
begin
if AInplaceEditor.IsEdit then
AInplaceEditor.AsEdit.MaxLength := 10;
end;