Back to Devexpress

TcxGridBandedTableView.CreateColumn Method

vcl-cxgridbandedtableview-dot-tcxgridbandedtableview-d0ec2183.md

latest1.8 KB
Original Source

TcxGridBandedTableView.CreateColumn Method

Creates a column and adds it to the Columns collection.

Declaration

delphi
function CreateColumn: TcxGridBandedColumn;

Returns

TypeDescription
TcxGridBandedColumn

The created column.

|

Remarks

Call the CreateColumn function to create a new unbound banded column. The Columns property provides indexed access to all columns in the unbound Banded Table View.

To display the created column, use its Position.BandIndex property to associate the column with a band in the Banded Grid View.

Banded Column Deletion

To delete a banded grid column, release it directly in code (call the Free procedure in Delphi or use the delete keyword in C++Builder):

delphi
cxGrid1BandedTableView1Column1.Free;
cpp
delete cxGrid1BandedTableView1Column1;

See Also

TcxGridDBBandedTableView.CreateColumn Function

TcxGridServerModeBandedTableView.CreateColumn Function

TcxGridBandedTableView Class

TcxGridBandedTableView Members

cxGridBandedTableView Unit