Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxCustomGridViewData Class

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

#Declaration

Delphi
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