Vcl.DBGrids.TCustomDBGrid.Columns

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Columns: TDBGridColumns read FColumns write SetColumns;

C++

__property TDBGridColumns* Columns = {read=FColumns, write=SetColumns};

Properties

Type Visibility Source Unit Parent
property protected
Vcl.DbGrids.pas
Vcl.DBGrids.hpp
Vcl.DBGrids TCustomDBGrid

Description

Describes the display attributes and field bindings of the 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.

See Also