TcxGridServerModeBandedTableView.CreateColumn Method
Creates a new column and adds it to the Columns collection.
Declaration
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):
See Also