Skip to main content

TcxGridBandedTableView.CreateColumn Method

Creates a column and adds it to the Columns collection of the current View, returning a pointer to the column created.

Declaration

function CreateColumn: TcxGridBandedColumn;

Returns

Type
TcxGridBandedColumn

Remarks

Call this function to create an instance of the TcxGridBandedColumn class and add it to the Columns collection of the current View. After the column is added to the collection it can be associated with a specific band via setting the GridBandedColumn.Position.BandIndex property value. The columns position within a band is determined via the Position.ColIndex and Position.RowIndex properties.

See Also