This is a migrated thread and some comments may be shown as answers.

clearing filter values using javascript?

1 Answer 57 Views
Grid
This is a migrated thread and some comments may be shown as answers.
victor
Top achievements
Rank 1
victor asked on 29 Aug 2008, 04:16 PM
Hi,

Is there any way to clear all the filter values using client api (javascript)?

Thanks

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 01 Sep 2008, 07:43 AM
Hi Victor,

Try the following code snippet to apply  filtering on the client side.

JS:
function RemoveFilter() 
  var masterTable = $find("<%= RadGrid1.ClientID %>").get_masterTableView(); 
  masterTable.filter("FirstName","", Telerik.Web.UI.GridFilterFunction.NoFilter); 
 

You can also go through the following help article to get more details.
filter

Shinu.
Tags
Grid
Asked by
victor
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or