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.
Unfortunately, activation email could not send to your email. Please try again.

Filter on all columns

Thread ID:

Created:

Updated:

Platform:

Replies:

128062 Dec 29,2016 04:44 AM Jan 4,2017 11:46 PM WPF 5
loading
Tags: SfDataGrid
Fabio
Asked On December 29, 2016 04:44 AM

Hi,

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

Thanks

Sivakumar R [Syncfusion]
Replied On December 29, 2016 11:12 AM

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 


Fabio
Replied On December 30, 2016 02:18 AM

And in a MVVM logic?

Thanks

Jai Ganesh S [Syncfusion]
Replied On January 2, 2017 12:44 PM

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 


Fabio
Replied On January 4, 2017 07:27 AM

Thank you very much.

Jai Ganesh S [Syncfusion]
Replied On January 4, 2017 11:46 PM

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


CONFIRMATION

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.

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.

;