TTMSFNCDataGridBeforeSortHeaderGroupEvent Event Type
Fired when a chip is clicked, before the grouped column is sorted.
API unit family: TMSFNCDataGrid
Remarks
Only fires when Options.Sorting.Enabled and Header.VisualGrouping.SortOnClick are True. When allowed, the column-level sort events of the grid fire as well. Holding Shift adds the column to the existing sort instead of replacing it.
Parameters
| Name | Description |
|---|---|
Sender |
Grid that fired the event. |
AColumn |
Zero-based index of the column whose chip was clicked. |
ACanSort |
True by default. Set to False to prevent the sort. |