Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxGridServerModeBandedTableView.CreateColumn Method

Creates a new column and adds it to the Columns collection.

#Declaration

Delphi
function CreateColumn: TcxGridServerModeBandedColumn;

#Returns

Type Description
TcxGridServerModeBandedColumn

The created column.

#Remarks

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

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

Tip

You can call the DataController.CreateAllItems procedure to create columns for all fields in the bound dataset.

#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):

  cxGrid1ServerModeBandedTableView1Column1.Free;
See Also