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

Hi,

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

Thanks

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, 
 
Thanks, 
Sivakumar 



FA Fabio December 30, 2016 07:18 AM UTC

And in a MVVM logic?

Thanks


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, 
Regards, 
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. 
Regards, 
Jai Ganesh S 


Loader.
Up arrow icon