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.

Unfilter all button?

Thread ID:





127434 Nov 15,2016 01:59 PM Nov 17,2016 12:18 AM ASP.NET MVC 3
Tags: Grid
Michael Lambert
Asked On November 15, 2016 01:59 PM

What is the best way to create an Un-filter All button for the grid.  If a user has selected one or more filters on columns instead of clicking the filter icon on each column to turn off filtering, I just want them to be able to click one button that clears the filtering on all columns.

Prasanna Kumar Viswanathan [Syncfusion]
Replied On November 16, 2016 04:49 AM

Hi Michael, 

Thanks for contacting Syncfusion support. 

To clear the filtering for all columns, use clearFiltering method of ejGrid. 

Find the code example and sample:  

@Html.EJ().Button("buttonnormal").Text("Save").Size(ButtonSize.Mini).ClientSideEvents(e => e.Click("Click")) 
    function Click(args) { 
        var grid = $("#FlatGrid").ejGrid("instance"); 

Refer to the Help document for the clearFiltering method. 

Prasanna Kumar N.S.V 

Michael Lambert
Replied On November 16, 2016 02:38 PM

Worked Thanks!

Prasanna Kumar Viswanathan [Syncfusion]
Replied On November 17, 2016 12:18 AM

Hi Michael, 

We are happy to hear that your issue has been resolved. 

Please let us know if you need any further assistance. 

Prasanna Kumar N.S.V 


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.