Skip to main content

TreeListSettingsBehavior.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.ASPxTreeList

Assembly: DevExpress.Web.ASPxTreeList.v23.2.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.

Property Paths

You can access this nested property as listed below:

Object Type Path to HeaderFilterMaxRowCount
ASPxTreeList
.SettingsBehavior .HeaderFilterMaxRowCount

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 nodes are scanned starting from the first node up to the specified limit and values are added only once to the filter dropdown.

Note

Online Demos Refer to the Tree List - Header Filter online demo to review how to filter Tree List data nodes using the Header Filter.

See Also