GridViewSettings.ProcessColumnAutoFilter Property
Enables you to apply custom filter criteria.
Namespace: DevExpress.Web.Mvc
Assembly: DevExpress.Web.Mvc5.v24.2.dll
NuGet Package: DevExpress.Web.Mvc5
#Declaration
public ASPxGridViewAutoFilterEventHandler ProcessColumnAutoFilter { get; set; }
#Property Value
Type | Description |
---|---|
ASPx |
An ASPx |
#Remarks
End-users can build simple filter criteria and apply them using the Filter Row. The ProcessColumnAutoFilter event is raised before the filter criterion is applied. This event is raised twice and enables you to:
- provide custom filter criteria;
- specify text displayed within the auto-filter row cell.
If the event parameter’s GridAutoFilterEventArgs.Kind property returns GridViewAutoFilterEventKind.CreateCriteria, you should provide custom filter criteria using the GridAutoFilterEventArgs.Criteria property.
Note
When handling the Process
When the GridAutoFilterEventArgs.Kind property returns GridViewAutoFilterEventKind.ExtractDisplayText, you should specify the text displayed within the auto-filter row cell. To do this, use the GridAutoFilterEventArgs.Value property.