Create readonly text column TGrid firemonkey


I created my custom Column classes from TColumn and i am doing some custom drawing on cell canvas like this:

TCustomCol = class(TColumn)
procedure DrawCell(const Canvas: TCanvas; const Row: integer; const Bounds: TRectF; const Value: TValue); override;

The problem is that my cells are all editable by default, if i dont set editing mode in grid options they will be non editable but i want only certain cells to be non-editable.

Comments are closed.