Docs
API
  • clearFilter()

    Clears all filters.

    To use this method it requires to set property filter: true

    Example

    
    var grid = new FancyGrid({
      ...
      filter: true,
      ...
    });
    
    grid.clearFilter();
    

    clearFilter(dataIndex: String)

    Clears filters by index.

    To use this method it requires to set property filter: true

    Example

    
    var grid = new FancyGrid({
      ...
      filter: true,
      ...
    });
    
    grid.clearFilter('name');
    

    clearFilter(dataIndex: String, sing: String)

    Clears filters by index and sign.

    To use this method it requires to set property filter: true

    Example

    
    var grid = new FancyGrid({
      ...
      filter: true,
      ...
    });
    
    grid.clearFilter('age', '<');
    

    See also

    Method addFilter
    Method find
    Method findItem
    Method getDataFiltered
    Method search
    Method updateFilters

    Doc link Filtering