Skip to main content
Tab

ASPxGridBeforeHeaderFilterFillItemsEventArgs.AddValue(String, CriteriaOperator) Method

Adds a new filter item with the specified filter criteria operator to the header filter.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.2.dll

NuGet Package: DevExpress.Web

#Declaration

public void AddValue(
    string displayText,
    CriteriaOperator criteria
)

#Parameters

Name Type Description
displayText String

A String value that specifies the filter item’s display text.

criteria CriteriaOperator

A CriteriaOperator value that specifies the filter criteria operator.

#Remarks

Note that the grid header filter allows the use of HTML tags in the displayText parameter.

See Also