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

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 (the grid control’s painter);

  • 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