Skip to main content

TcxCustomGridViewData Class

Represents the base class for classes providing data to a View.

Declaration

TcxCustomGridViewData = class(
    TcxGridViewHandler
)

Remarks

TcxCustomGridViewData is an abstract class that provides basic functionality for classes which supply information to a View (TcxCustomGridView) in a convenient form. It acts as a conduit between the View and a data controller providing data from a data storage.

The TcxCustomGridViewData class provides access to several objects affecting the View’s functionality and appearance:

DataController
Handles data posting and retrieval from a data set.
Controller
Processes keyboard and mouse messages.
Painter
Implements drawing of the grid control.
ViewInfo
Calculates grid element sizes and provides information for the painter.

The TcxCustomGridViewData class inherits all its functionality from its ancestor and publishes the DataController property.

TcxCustomGridTableViewData derives from the TcxCustomGridViewData class and presents data as an array of records, each of which is a TcxCustomGridRecord object.

See Also