Skip to main content
A newer version of this page is available. .

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.v20.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:

Library Object Type Path to HeaderFilterMaxRowCount
ASP.NET Controls and MVC Extensions ASPxTreeList
.SettingsBehavior .HeaderFilterMaxRowCount
ASP.NET MVC Extensions MVCxTreeList
.SettingsBehavior .HeaderFilterMaxRowCount
TreeListSettings
.SettingsBehavior .HeaderFilterMaxRowCount
TreeListSettings<RowType>
.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