Skip to main content
Tab

ASPxGridBehaviorSettings.HeaderFilterMaxRowCount Property

Gets or sets the maximum number of records that are scanned to populate a header filter dropdown with unique filter values.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

[DefaultValue(-1)]
public int HeaderFilterMaxRowCount { get; set; }

Property Value

Type Default Description
Int32 -1

An integer value specifying the maximum number of records whose field values can be displayed within a header filter dropdown.

Remarks

The default property value (-1) specifies that all the unique values in the column are displayed within a header filter dropdown. Setting the HeaderFilterMaxRowCount property to a positive integer limits the number of data source records that provide values. In this case, data rows are scanned starting from the first row up to the specified limit and values are added only once to the filter dropdown.

See Also