Hello everyone,
I have a small issue with clearin filter with my grid, the skin that I use is silk and has the EnableHeaderContextFilterMenu on "true". But when I want to use a different filter the other filters won't be cleared also when I call: grid.get_masterTableView().get_filterExpressions().clear(); . So how is it possible to clear all my filters after I fire a new on my grid>
For filtering I use clientside script this is my script for filtering the grid,
Thank you for your help. :)
function AddFilterExpressionbetween(columnUniqueName, dataField, filterValueFirst, filterValueSecond) { var grid = $find("<%=RadGrid1.ClientID%>"); grid.get_masterTableView().get_filterExpressions().clear(); grid.get_masterTableView().rebind(); grid.get_masterTableView().filter(columnUniqueName, startDate + " " + endDate, Telerik.Web.UI.GridFilterFunction.Between, true); }
