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");
}