com.sencha.gxt.widget.core.client.grid.filters
Class GridFilters<M>

java.lang.Object
  extended by com.sencha.gxt.widget.core.client.grid.filters.AbstractGridFilters<M>
      extended by com.sencha.gxt.widget.core.client.grid.filters.GridFilters<M>
Type Parameters:
M - the model type
All Implemented Interfaces:
ComponentPlugin<Grid<M>>

public class GridFilters<M>
extends AbstractGridFilters<M>

Applies filters to the rows in a grid. For more information, see AbstractGridFilters.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.sencha.gxt.widget.core.client.grid.filters.AbstractGridFilters
AbstractGridFilters.DefaultGridFilterMessages, AbstractGridFilters.GridFilterMessages
 
Constructor Summary
GridFilters()
          Creates grid filters that are applied locally.
GridFilters(Loader<FilterPagingLoadConfig,?> loader)
          Creates grid filters to be applied remotely.
 
Method Summary
 boolean isLocal()
          Returns true if the grid filters are to be applied locally.
 void setLocal(boolean local)
          True to use Store filter functions (local filtering) instead of the default server side filtering (defaults to false).
 
Methods inherited from class com.sencha.gxt.widget.core.client.grid.filters.AbstractGridFilters
addFilter, buildQuery, cleanParams, clearFilters, getFilter, getFilterData, getMessages, initPlugin, isAutoReload, removeAll, removeFilter, setAutoReload, setUpdateBuffer, updateColumnHeadings
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GridFilters

public GridFilters()
Creates grid filters that are applied locally. See AbstractGridFilters.AbstractGridFilters() for more information.


GridFilters

public GridFilters(Loader<FilterPagingLoadConfig,?> loader)
Creates grid filters to be applied remotely. See AbstractGridFilters.AbstractGridFilters(Loader) for more information.

Parameters:
loader - the remote loader
Method Detail

isLocal

public boolean isLocal()
Description copied from class: AbstractGridFilters
Returns true if the grid filters are to be applied locally.

Returns:
true if the grid filters are to be applied locally

setLocal

public void setLocal(boolean local)
Description copied from class: AbstractGridFilters
True to use Store filter functions (local filtering) instead of the default server side filtering (defaults to false).

Parameters:
local - true for local


Copyright © 2012. All Rights Reserved.