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

TcxCustomDataController.RowCount Property

Returns the number of rows in a data controller.

#Declaration

Delphi
property RowCount: Integer read;

#Property Value

Type
Integer

#Remarks

The number of records stored in a data controller is specified by its RecordCount property. In bound and provider modes, it identifies the number of records loaded from a data source. Note that when grid mode is applied, the value returned by RecordCount is determined by the GridModeBufferCount property.

The RowCount property returns the number of rows (data records and grouping rows) that can be actually displayed on screen. The RowCount value can differ from RecordCount when grouping or filtering data is applied.

For instance, when the data controller filters records from a database table, RowCount returns the number of rows after applying filter condition(s). The RecordCount property, in this case, returns the total number of records obtained from the table.

See Also