Skip to main content

TcxCustomDataController.FilteredRecordCount Property

Specifies the number of data records in a data controller after applying filter criteria.

Declaration

property FilteredRecordCount: Integer read;

Property Value

Type
Integer

Remarks

The FilteredRecordCount property returns the number of filtered data records in a data controller, i.e. the number of data records that meet the current filter criteria. This does not take into account the grouping rows that are created when the data is grouped. To get the number of rows (data records and grouping rows) actually visible, see the RowCount property.

If no filter criteria are applied, FilteredRecordCount returns the same value as RecordCount, which specifies the total number of data records in your data controller.

The FilteredRecordIndex property allows you to get the record index of a filtered record. It takes the index of the filtered record (a value which varies from 0 to FilteredRecordCount - 1) as a parameter and returns the record index. The FilteredIndexByRecordIndex property performs the opposite operation: it returns the position of a particular record among all filtered records.

See Also