ComponentOne True DBGrid for .NET (2.0) Search HelpCentral 

C1TrueDBGrid.GroupedColumns Property

Gets the collection of columns that are grouped.

[Visual Basic]

Public ReadOnly Property GroupedColumns As GroupedColumnCollection

[C#]

public GroupedColumnCollection GroupedColumns {get;}

[Delphi]

public property GroupedColumns: GroupedColumnCollection read get_GroupedColumns;

Example

The following code uses the GroupedColumns property to group the first column:

·      Visual Basic

       Me.C1TrueDBGrid1.GroupedColumns.Add(Me.C1TrueDBGrid1.Columns(0))

·      C#

       this.c1TrueDBGrid1.GroupedColumns.Add(this.c1TrueDBGrid1.Columns[0]);

·      Delphi

       Self.C1TrueDBGrid1.GroupedColumns.Add(Self.C1TrueDBGrid1.Columns[0]);

See Also

C1TrueDBGrid Class | C1TrueDBGrid Members | C1.Win.C1TrueDBGrid Namespace


Send comments about this topic to ComponentOne.
Copyright © ComponentOne LLC. All rights reserved.