Skip to main content

TcxGridDBDataController.CreateAllItems(Boolean) Method

Creates items for fields in the linked dataset.

Declaration

procedure CreateAllItems(AMissingItemsOnly: Boolean = False);

Parameters

Name Type
AMissingItemsOnly Boolean

Remarks

To create items only for fields that are not linked to an item, pass True as the AMissingItemsOnly parameter. Otherwise, items for all fields in the dataset will be created.

This method assigns an item’s DataBinding.FieldName property and adds the item to the View’s Items collection. The visibility of the created item is defined by the Visible property of the corresponding TField object.

See Also