Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxCustomGridTableView.OnCellClick Event

In This Article

Occurs every time a user clicks a cell.

#Declaration

Delphi
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