TcxGridServerModeDataController.CreateAllItems(Boolean) Method
Creates columns for fields in the bound dataset.
Declaration
procedure CreateAllItems(AMissingItemsOnly: Boolean = False);
Parameters
Name | Type | Description |
---|---|---|
AMissingItemsOnly | Boolean | Optional. Specifies if the data controller creates columns for all fields in the bound dataset. You can pass Note If you omit this parameter, the procedure always creates columns for all fields in the bound datset. |
Remarks
Call the CreateAllItems
procedure to create columns for all fields in the bound dataset. The CreateAllItems
procedure assigns the corresponding dataset field names to the DataBinding.FieldName property of all created columns.
Note
If a source dataset field’s Visible property is set to False
, the corresponding created column’s Visible property is also set to False
.
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):