Hi,
When I set the ShowAutoFilterRow to true and type something in a string column autofilter box it shows the records "starting with" the inputed text and to see the "contains" I have to type the '%' symbol. Is there any way to make the contain behavior default?
Thanks,
Edilson.
How to use the "Contains" filter operator in the Auto Filter Row
Answers approved by DevExpress Support
Hi Edilson,
Thank you for your message.
Yes, it is possible. Just set the GridColumn.OptionsFilter.AutoFilterCondition property to Contains.
We hope that you find this information helpful.
Thanks,
Svetlana
Hi Svetlana,
I am using "contains" in my gridview for one column but I have an issue where it does not work.
When I type in “cheese cream”… nothing gets found… then I type cheese phil if finds a record as the exact description in the grid is Cheese Philadelphia Cream. So can I do something with filter that will allow me to search on %Cheese%Cream%
I hope I am clear . Please let me know if you need any further information
Thanks
Nirav
Hi
Just found that I have posted it in Winforms question, I am having this issue in ASPxGridview. Just FYI.
Thanks
Nirav
Hello Nirav,
In order not to mix WinForms and ASP controls within one thread, I've created a separate ticket on your behalf (Contains AutoFilterCondition - how to process search requests like "%Cheese%Cream%"). It has been placed in our processing queue and will be answered shortly.