OnSelectQueryOccur before cell is being to become selected. Event include Boolean (var) parameter which may be used to prevent selection change.
property OnSelectQuery: TNxCellQueryEvent read FOnSelectQuery write FOnSelectQuery;
This event is useful in situations where we don't want that clicks in some column (e.g. Toolbar column or Progress column) to change selection.
procedure TForm1.NextGrid61SelectQuery(Sender: TObject; ACol, ARow: Integer; var Accept: Boolean); begin if ACol = 3 then Accept := False; end;