Gets or sets the text displayed in the grouping area when no columns have been grouped.
[Visual Basic]
Public Property GroupByCaption As String
[C#]
public string GroupByCaption {get;set;}
[Delphi]
public property GroupByCaption: String read get_GroupByCaption write set_GroupByCaption;
Remarks
When the DataView property is set to GroupBy, 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".
See Column Grouping for more information.
Example
The following example shows how the default settings appear programmatically for the GroupByCaption property:
Me.C1TrueDBGrid1.GroupByCaption = "Drag a column header here to group by that column"
· C#
this.c1TrueDBGrid1.GroupByCaption = "Drag a column header here to group by that column";
· Delphi
Self.C1TrueDBGrid1.GroupByCaption := 'Drag a column header here to group by that column';
See Also
C1TrueDBGrid Class | C1TrueDBGrid Members | C1.Win.C1TrueDBGrid Namespace
Send comments about this topic to ComponentOne. Copyright © ComponentOne LLC. All rights reserved. |