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

TreeListSettings.ProcessColumnAutoFilter Property

Enables you to apply custom filter criteria.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v19.2.dll

Declaration

public ASPxTreeListAutoFilterEventHandler ProcessColumnAutoFilter { get; set; }

Property Value

Type Description
ASPxTreeListAutoFilterEventHandler

An ASPxTreeListAutoFilterEventHandler delegate method allowing you to implement custom processing.

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 ProcessColumnAutoFilter event, you should apply filter criteria only to the column that is to be filtered.

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.

See Also