Skip to main content

TcxCustomDataController.OnSortingChanged Event

Enables you to perform specific actions after data sorting has changed.

Declaration

property OnSortingChanged: TNotifyEvent read; write;

Remarks

The OnSortingChanged event is generated when the item’s SortOrder property is changed, or when an end-user clicks a column header.

The data controller that fires this event is specified by the Sender parameter.

If the grid data controller works in grid mode, then you must handle this event in order to implement sorting within a View.

See Also