TcxCustomGridTableView Class
The base class for all table-based Views in the VCL Data Grid.
Declaration
TcxCustomGridTableView = class(
TcxCustomGridView,
IcxFilterControl,
IcxFilterControlEx,
IcxNavigator,
IcxNavigatorRecordPosition,
IcxDataControllerConditionalFormattingProviderOwner
)
Remarks
This class stores the basic functionality for the Views that display data in tables. The following Views are class descendants:
Table View (unbound, bound, and Server Mode
Banded Table View (unbound, bound, and Server Mode).
View Items
Depending on the View type, the term item
describes different View elements:
- Column
In Table and Banded Table Views, items are columns displayed across the View.
- Card Row
In a Card View, items are card rows arranged vertically.
- Data Item
- In a Layout View and Win Explorer View, item is a data item.
In the first case, a data item is embedded in a layout container.
In the second case, a data item (image, text, description, check box, or group) is associated with a dataset field.
Main API Members
The list below displays class members that specify the View’s layout, appearance, and behavior. You can use these API members to do the following:
Customize appearance and behavior settings of the View’s Find Panel, Filter Box, and View Navigator (FindPanel, FilterBox, and Navigator).
Configure the View’s conditional formatting settings (ConditionalFormatting).
Access the View controller’s settings (Controller).
Obtain the number of grouped items in the View (GroupedItemCount).
Access a grouped item by its index (GroupedItems).
Obtain the total number of View items (ItemCount).
Access a View item by its index (Items).
Obtain the master View record that displays the View as a detail page (MasterGridRecord).
Access settings of the View Navigator and its buttons (Navigator and NavigatorButtons).
Customize user interaction options (OptionsBehavior and OptionsCustomize).
Specify how the View can manage data (OptionsData).
Configure the View’s filter settings (Filtering).
Configure data row and cell selection settings (OptionsSelection).
Customize the View’s appearance (OptionsView).
Configure the View’s scrollbar annotation settings (ScrollbarAnnotations).
Obtain the total number of sorted items in the View (SortedItemCount).
Access a sorted item by its index (SortedItems).
Specify appearance settings of the View elements (Styles).
Obtain the total number of items that fit in the View’s client area (VisibleItemCount).
Access a currently visible item by its index (VisibleItems).
Specify how the View processes date and time values (DateTimeHandling).
The TcxCustomGridTableView
class implements basic functionality for tabular Views. Use the class’s descendants in your applications.