Skip to main content

TcxGridBandedTableView.CreateColumn Method

Creates a column and adds it to the Columns collection.

Declaration

function CreateColumn: TcxGridBandedColumn;

Returns

Type Description
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):

  cxGrid1BandedTableView1Column1.Free;
See Also