Back to Devexpress

ASPxGridBehaviorSettings.HeaderFilterMaxRowCount Property

aspnet-devexpress-dot-web-dot-aspxgridbehaviorsettings-75680028.md

latest1.7 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

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

Property Value

TypeDefaultDescription
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

Grid View

ASPxGridBehaviorSettings Class

ASPxGridBehaviorSettings Members

DevExpress.Web Namespace