RAD Studio VCL Reference
TCustomDBGrid.Columns Property

Describes the display attributes and field bindings of the columns.

property Columns: TDBGridColumns;
__property TDBGridColumns Columns;

Use Columns to read or set the field bindings and display attributes of the columns in the data-aware grid. The Columns property is an indexed collection of TColumn objects. Use the properties of the TColumn objects to specify the display attributes or field bindings of individual columns in the grid. The field binding of a column designates a field within the dataset specified by the DataSource property. 

Columns can be set at design time through the Columns editor, or programmatically at runtime. 


Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!