Object Reference > True DBGrid Properties > GroupByCaption Property |
This property sets or returns the text displayed in the grouping area when no group is defined.
TDBGrid.GroupByCaption= string
Read/Write at run time and design time.
When the DataView property is set to 2 - Group, a grouping area is created above the grid. Until column headers have been moved there, the GroupByCaption text is displayed in the grouping area. The default caption is: "Drag a column header here to group by that column" The maximum length of the caption string is 255 characters.
Note
This property is only supported by the OLE DB version of True DBGrid Pro.
See Outlook-Style Grouping for more information.