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.1.dll

Declaration

[DefaultValue(-1)]
public int HeaderFilterMaxRowCount { get; set; }
<DefaultValue(-1)>
Public Property HeaderFilterMaxRowCount As Integer

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
MVCxTreeList
.SettingsBehavior.HeaderFilterMaxRowCount
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