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

Customization of Filtering popup

Thread ID:





129843 Apr 6,2017 04:42 AM UTC Apr 21,2017 04:24 AM UTC UWP 3
Tags: SfDataGrid
Asked On April 6, 2017 04:42 AM UTC

I am using filter for all columns in a grid by using "AllowFiltering=true" , when I filter a column I get the resulting row in grid, but to clear the filter again I have to go for filter popup and choose "Clear filters" option from the popup, what my requirement is if I clicked on filter icon(when the filter is on), the filtering is clear. How can I achieve this??
Thanks in advance

Muthukumar Kalyanasundaram [Syncfusion]
Replied On April 11, 2017 03:52 AM UTC

Hi Murali, 

Thank you for contacting Syncfusion support. 

If you want to clear the filtered record in SfDataGrid, you can use ClearFilters method. Please refer the below code snippet and documentation link, 

Code Snippet: 

private void Button_Click(object sender, RoutedEventArgs e) 

You can clear the filtered record while selecting the filter icon by handling PopupOpened event in filtercontrol property. 
dataGrid.FilterItemsPopulating += DataGrid_FilterItemsPopulating; 
private void DataGrid_FilterItemsPopulating(object sender, GridFilterItemsPopulatingEventArgs e) 
    e.FilterControl.PopupOpened += FilterControl_PopupOpened1; 
private void FilterControl_PopupOpened1(object sender, PopupOpenedEventArgs e) 
Please let us know if you have any query. 
Muthukumar K

Replied On April 20, 2017 11:22 AM UTC

Thanks for your answer. It's working nice

Muthukumar Kalyanasundaram [Syncfusion]
Replied On April 21, 2017 04:24 AM UTC

Hi Murali, 
Thanks for the update. Please let us know if you need any other assistance. 
Muthukumar K 


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

This page will automatically be redirected to the 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