Gets or set a value indicating the visibility of a column when it's grouped.
[Visual Basic]
Public Property ColumnVisible As Boolean
[C#]
public bool ColumnVisible {get;set;}
[Delphi]
public property ColumnVisible: Boolean read get_ColumnVisible write set_ColumnVisible;
Remarks
The default value is False.
Example
The following code keeps the HireDate column visible while grouping:
' Keep the HireDate column visible while grouping.
Me.C1TrueDBGrid1.Columns("HireDate").GroupInfo.ColumnVisible = True
· C#
// Keep the HireDate column visible while grouping.
this.c1TrueDBGrid1.Columns["HireDate"].GroupInfo.ColumnVisible = true;
· Delphi
// Keep the HireDate column visible while grouping.
Self.C1TrueDBGrid1.Columns['HireDate'].GroupInfo.ColumnVisible := True;
For a detailed example using the ColumnVisible property, see Group Rows by Year.
See Also
GroupInfo Class | GroupInfo Members | C1.Win.C1TrueDBGrid Namespace
Send comments about this topic to ComponentOne. Copyright © ComponentOne LLC. All rights reserved. |