ClicksOnRowSelect

Class: TEgDBGridEx

property ClicksOnRowSelect: Boolean default True;

Whether a data-cell ImageIndex icon click (OnCellImageClick) or a checkbox click still works while dgRowSelect is in Options (inherited from TDBGrid). True (the default) keeps both working normally. Set to False to make dgRowSelect suppress them instead, the way a plain TDBGrid effectively would (native dgRowSelect forces dgEditing out of Options unconditionally, which would otherwise block checkbox editing on its own).

Only relevant when dgRowSelect is in Options - with it absent, dgEditing gates a checkbox exactly as before this property existed, and this property is not consulted at all. Self.ReadOnly/Column.ReadOnly/ Column.Field.ReadOnly remain the real gate either way: a column that should never be toggled just needs to be marked ReadOnly, independent of this property.

Overridable per column - see TEgColumn.ClicksOnRowSelect. Also gates ClickableCursor’s own cursor change over a checkbox/data-cell image under dgRowSelect, for the same reason: a cursor promising a click that would be ignored here is misleading.

See Also

(C) 2026 Easygate, Lda