We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Filter on all columns


Is it possible apply a filter to all datagrid columns by search text?


5 Replies

SR Sivakumar R Syncfusion Team December 29, 2016 04:12 PM UTC

Hi Fabio, 
Yes, you can filter all columns by setting SfDataGrid.View.Filter predicate. You can refresh the UI if you are changing the filter at runtime by calling SfDataGrid.View.RefreshFilter. 
In another way, you can make use built-in search functionality. Refer the below documentation for more details, 

FA Fabio December 30, 2016 07:18 AM UTC

And in a MVVM logic?


JG Jai Ganesh S Syncfusion Team January 2, 2017 05:44 PM UTC

Hi Fabio, 
We have prepared a sample for applying a filter to all datagrid columns by search text in MVVM pattern and please find the sample from the below location, 
Jai Ganesh S 

FA Fabio January 4, 2017 12:27 PM UTC

Thank you very much.

JG Jai Ganesh S Syncfusion Team January 5, 2017 04:46 AM UTC

Hi Fabio, 
Thank you for the update. 
Please let us know if you need further assistance on this. 
Jai Ganesh S 

Live Chat Icon For mobile
Up arrow icon