Skip to main content

Grid View Elements

  • 3 minutes to read

Each grid View consists of elements that include various capabilities, including:

The View type determines the set of grid View elements available within a grid View. You can change the visibility of these elements to visualize data in the most convenient and user-friendly manner.

Table View and Banded Table View

Table Views and Banded Table Views have much in common. The Banded Table View extends the data representation capabilities of the Table View with the help of the bands feature.

Table View

Banded Table View

Card View

Unlike tabular Views, a Card View does not have analytical and summarizing features. Its advantage is that database records are arranged in separate cards instead of table rows, as designed in tabular Views.

Layout View

The Layout View extends the Card View in that it adds an advanced structure for the card layout. Further, the Layout View allows end users to rearrange the card layout at runtime.

Chart View

Chart Views visually display data in a database by using various diagrams that show the data in the form of graphical shapes (also called data markers) so that values can easily be compared.

Pie diagrams have the following visual elements:

Chart Views include a drill-down functionality that allows data to be grouped in a similar manner to tabular Views. The drill-down feature allows users to display more or less detailed charts.

WinExplorer View

The WinExplorer View is designed to display records with images and short captions. This view includes seven unique display modes. Each mode can display up to six visual elements, as specified by the View’s item set.

ViewInfo Objects

Each grid View element has its own painter and is painted based on the ViewInfo settings relevant to the View type. These settings are stored in a ViewInfo property of the corresponding grid View element. Refer to the following topic for detailed information on ViewInfo classes available in different grid Views: ViewInfo Reference Charts.

Views and ViewInfo objects have a GetHitTest method (TcxCustomGridView.GetHitTest or TcxCustomGridViewInfo.GetHitTest) that allows you to identify a grid View element at a specific position. Refer to the following topic for details about HitTests: Understanding HitTests.

View Selector

This element is present in all Views and is only available to you at design time. The View selector enables you to select a specific View in a form to access View properties in the Object Inspector:

See Also