Skip to main content

TcxGridTableView Class

An unbound Table View in the VCL Data Grid.

Declaration

TcxGridTableView = class(
    TcxCustomGridTableView,
    IdxLayoutContainerOwner
)

Remarks

This View allows you to display, manage, and shape data in a tabular format. Columns are key elements of the Table View.

A Table View

Load Data

TcxGridTableView supports the following data load modes:

Unbound
A grid View is not bound to a dataset and manages data preloaded into the data controller.
Provider
A grid View loads data from a custom data source on demand.

You can use the following Table Views to display data in bound or server mode:

Edit Data

The View allows users to input data in DevExpress editors that you can associate with individual columns. Alternatively, you can use in-place and modal Edit Forms with a customizable layout to edit data cell values.

Data Edit

Sort Data

The View allows users to sort data in ascending or descending order.

Data Sort

Users can sort data by the following values:

You can also sort data at design time and runtime.

Group Data

The View allows users to drag column headers to the Group by box to group data. You can combine any number of columns in data groups.

Data Group

Filter

The View uses a data controller to filter data. When a user creates new filter conditions, the data controller retrieves only those data rows that meet these conditions. The View displays active filter criteria in the filter panel.

Data Filter

A user can create filter conditions in any of the following ways:

The View has the Find Panel that allows users to type search requests and highlight results. You can switch the panel between search and data filter processing modes.

Data Search

The panel also supports extended syntax that allows a user to input compound requests. You can use the compact panel and arrange it in the Group by box to free more space.

Conditional Formatting

You can create rules to format the data rows whose content meets these rules.

Data Conditional Formatting

Summaries

Summaries allow a user to calculate totals against all records or a group of records.

Summaries Example

The View can display a data navigator that allows users to navigate through data rows, manage records, and filter data.

View Navigation

Main API Members

You can use the TcxGridTableView class members to manage the View’s layout, appearance, and behavior as follows:

See Also