Skip to main content

TcxGridServerModeTableView.CreateColumn Method

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

Declaration

function CreateColumn: TcxGridServerModeColumn;

Returns

Type Description
TcxGridServerModeColumn

The created column.

Remarks

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

Tip

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

Grid Column Deletion

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

  cxGrid1ServerModeTableView1Column1.Free;
See Also