Edit this page

clearFilter

Method which clears the filter for a specific column or the whole filter expression of the TableView object if no argument is passed.

clearFilter(), clearFilter(columnUniqueName)
columnUniqueName String The unique name of the column whose filter should be cleared.

Example:

function clearFilterExpressions() {
    var grid = $find("<%=RadGrid1.ClientID %>");
    var masterTableView = grid.get_masterTableView();
    masterTableView.clearFilter();
}

function clearColumnFilter() {
    var grid = $find("<%=RadGrid1.ClientID %>");
    var masterTableView = grid.get_masterTableView();
    masterTableView.clearFilter("CompanyName");
}
Is this article helpful? No Yes
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy