TTMSFNCDataGridBeforeDropHeaderGroupEvent Event Type
Fired before a dragged column header or chip is dropped into the visual grouping zone.
API unit family: TMSFNCDataGrid
Remarks
Fires both when a new column is dropped and when an existing chip is moved to another position or level. When cancelled, TTMSFNCCustomDataGrid.OnAfterDropHeaderGroup is not fired.
Parameters
| Name | Description |
|---|---|
Sender |
Grid that fired the event. |
AColumn |
Zero-based index of the column being dropped. |
ACanDrop |
True by default. Set to False to cancel the drop so the grouping stays unchanged. |