Skip to main content
A newer version of this page is available. .

TcxCustomGridTableItem Class

An item for a tabular data representation.

Declaration

TcxCustomGridTableItem = class(
    TcxComponent,
    IcxEditRepositoryItemListener,
    IcxStoredObject,
    IdxScaleFactor,
    IdxFilterableComponent,
    IdxFilterImagesProvider,
    IdxExcelFilterableComponent,
    IdxCustomFunctionContainer,
    IdxCustomFunctionFilterableComponent,
    IdxDateTimeHandling,
    IdxFilteringDateTimeHandling,
    IdxGroupingDateTimeHandling,
    IcxDataControllerSpreadSheetExpressionItem
)

Remarks

This class encapsulates the concept of an item within a grid control. In terms of databases, an item stands for a data table column (field). Items are interpreted as:

A grid control allows you to display data using several Views. The TcxCustomGridTableView class provides the Items property which supports a collection of items represented in a tabular form by a Table View. TcxCustomGridTableView descendants arrange items in different ways thus forming appropriate data presentations. In a Table View (TcxGridTableView), table items are displayed horizontally, while in a Card View (TcxGridCardView), they are displayed vertically.

An item has a number of attributes and options which control its appearance and operation (grouping, filtering, sorting, moving, editing, etc.) A View containing the item also has options which affect the item’s behavior.

An item retrieves data from and posts it to a storage with the help of a DataBinding object. You can use the DataBinding properties to define filter criteria, associate an arbitrary value (DataBinding.Data) with an item and perform other operations.

To assign an editor to an item, you can use either the mechanism of a repository and repository items or the PropertiesClass and Properties objects.

The TcxCustomGridTableItem class provides the base functionality for TcxGridCardViewRow and TcxGridColumn.

See Also