Skip to main content

WebDataSelection.FilteredCount Property

Gets the number of selected grid rows that meet the filter conditions.

Namespace: DevExpress.Web.Data

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web


public int FilteredCount { get; }

Property Value

Type Description

The number of rows.


The FilteredCount property allows you to get the number of selected rows that meet the filter confitions. To get the number of all selected rows, use the Count property.

<dx:ASPxGridView ID="Grid" runat="server" AutoGenerateColumns="False" OnCustomCallback="Grid_CustomCallback">
        <dx:GridViewCommandColumn ShowSelectCheckbox="true" />
        <!-- ... -->
    <Settings ShowFilterRow="true" ShowFilterRowMenu="true" />
protected void Grid_CustomCallback(object sender, DevExpress.Web.ASPxGridViewCustomCallbackEventArgs e) {
    var gridView = (ASPxGridView)sender;
    var count = gridView.Selection.FilteredCount;
    // ...
See Also