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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Filter on all columns

Thread ID:





128062 Dec 29,2016 09:44 AM UTC Jan 5,2017 04:46 AM UTC WPF 5
Tags: SfDataGrid
Asked On December 29, 2016 09:44 AM UTC


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


Sivakumar R [Syncfusion]
Replied On 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, 

Replied On December 30, 2016 07:18 AM UTC

And in a MVVM logic?


Jai Ganesh S [Syncfusion]
Replied On 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 

Replied On January 4, 2017 12:27 PM UTC

Thank you very much.

Jai Ganesh S [Syncfusion]
Replied On 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 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon