Back to Devexpress

TcxCustomDataController.RowCount Property

vcl-cxcustomdata-dot-tcxcustomdatacontroller-c1d47d92.md

latest2.5 KB
Original Source

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

TcxCustomGridTableViewData

TcxCustomDataController.FilteredRecordCount

TcxCustomDataController.ForEachRow

TcxCustomDataController.GetRowDisplayText

TcxCustomDataController.GetRowIndexByRecordIndex

TcxCustomDataController.GetRowInfo

TcxCustomDataController.GetRowValue

TcxCustomDataController.Groups

TcxCustomDataController Class

TcxCustomDataController Members

cxCustomData Unit