TTMSFNCDataGridHeaderVisualGrouping Class
The drag-and-drop grouping area displayed above the column headers. Columns dragged here become grouping keys. Supports sort-on-click, close indicators, and connection lines between grouped columns.
API unit family: TMSFNCDataGrid
Inherits from: TPersistent
Syntax
TTMSFNCDataGridHeaderVisualGrouping = class(TPersistent)
Properties
| Name | Description |
|---|---|
| AutoSize | When True (default), the visual-grouping zone resizes itself automatically as chips accumulate across multiple levels. |
| CloseIndicator | When True (default), each chip displays a × button the user can click to remove that group level. |
| ConnectionLines | When True (default), connection lines are drawn between chips at consecutive nesting levels to visualise the hierarchy. |
| ConnectionStroke | Stroke used to draw the connection lines between nested chips. |
| Dragging | When True (default), the user can drag column header chips into and out of the visual-grouping zone. Set to False to lock the current grouping. |
| Layout | Cell layout (fill, font, stroke, alignment) used to render each chip in the zone. |
| LevelActiveIndicationFill | Fill used to indicate an active nesting-level strip — the level that currently contains chips. |
| LevelActiveIndicationStroke | Stroke used to outline an active nesting-level strip. |
| LevelIndicationFill | Fill used to indicate an inactive nesting-level strip in the zone background. |
| LevelIndicationStroke | Stroke used to outline an inactive nesting-level strip. |
| Size | Height in logical pixels of the visual-grouping zone. Default is 30. When AutoSize is True, this value is the minimum height. |
| SortOnClick | When True (default), clicking a chip in the visual-grouping zone toggles the sort direction of the grouped column. |
| Visible | When True (default), the visual-grouping zone is rendered above the column headers. |