Skip to main content

TcxCustomGridTableView.OnCellClick Event

Occurs every time a user clicks a cell.

Declaration

property OnCellClick: TcxGridCellClickEvent read; write;

Remarks

The Sender parameter specifies the View which contains the cell that was clicked.

The ACellViewInfo parameter contains the ViewInfo information on the clicked cell: its display and edit values, its borders, and whether it can be edited or not, etc.

The AButton parameter identifies the mouse button which was clicked.

The AShift parameter determines the state of the Alt, Ctrl, and Shift keys and the state of the mouse buttons.

The AHandled parameter specifies whether the default handling of the click on the cell should be done after the event handler has been executed. The default handling includes activating the cell’s editor if the View’s OptionsBehavior.ImmediateEditor property is set to True. Set the AHandled parameter to True to prevent the grid from handling clicks on the cells in the default way.

Note

The default handling is always performed regardless of the AHandled parameter value, if any of the following conditions are met:

See Also