Object Reference > True DBGrid Events > GroupHeadClick Event |
GroupHeadClick Event
The GroupHeadClick event occurs when the user clicks on the header for a particular grid column in the grouping area.
TDBGrid_GroupHeadClick (ByVal ColIndex As Integer)
Arguments
ColIndex is an integer that identifies the column header that was clicked.
Event applies to TDBGrid control (OLE DB only).
One possible action for this event is to re-sort the Recordset object based on the selected column.
Note
This property is only supported by the OLE DB version of True DBGrid Pro.
See Outlook-Style Grouping for more information.