RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDBGrid.Columns Property

Describes the display attributes and field bindings of the columns.

Pascal
property Columns: TDBGridColumns;
C++
__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. 

 

CreateColumns 

Fields 

IndicatorOffset 

setcolumnattributes 

StoreColumns 

TDBGridColumns 

TColumn 

Creating Persistent Columns 

Viewing and Editing Data with TDBGrid

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!