Quantcast
Channel: DevExpress Support Center (Examples)
Viewing all articles
Browse latest Browse all 7205

Create a custom ASPxGridView filter insensitive to the number of spaces and punctuation

$
0
0

This example shows how to apply a custom filter to the text in the Auto Filter Row editor.

When the ASPxGridView.ProcessColumnAutoFilter event is raised before the filter criterion is applied, we parse the ASPxGridView.FilterExpression and take only a custom filter for the current column using the FindAndRemoveCustomOperator function.

In the MergeCriterias function, we make a custom criterion and then apply it.

When the AutoFilterCellEditorInitialize event is raised, we get a custom filter for a certain column from the FindAndRemoveCustomOperator function and pass it to the Auto Filter Row editor.

See also:
How to register a custom filter function and use it in ASPxGridView


Viewing all articles
Browse latest Browse all 7205

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>