Each column within a C1TrueDBGrid or C1TrueDBDropDown control is represented by two column objects, one global and one split-specific. All of the properties related to data access and formatting are contained under the C1DataColumn object. The properties of the C1DataColumn object are global in scope; changing a C1DataColumn property changes that value for all columns, even across splits. The DataColumn object can be accessed as follows:
Me.C1TrueDBGrid1.Columns(0).Caption = "Region"
· C#
this.C1TrueDBGrid1.Columns[0].Caption = "Region";
· Delphi
Self.C1TrueDBGrid1.Columns[0].Caption := 'Region';
See Also
Using the C1TrueDBGrid Designer
Reference Topics
Send comments about this topic to ComponentOne. Copyright © ComponentOne LLC. All rights reserved. |