com.extjs.gxt.ui.client.widget.grid.filters
Class GridFilters

java.lang.Object
  extended by com.extjs.gxt.ui.client.widget.grid.filters.AbstractGridFilters
      extended by com.extjs.gxt.ui.client.widget.grid.filters.GridFilters
All Implemented Interfaces:
ComponentPlugin

public class GridFilters
extends AbstractGridFilters

GridFilter is a plugin for grids that allow for a slightly more robust representation of filtering than what is provided by the default store.

Filtering is adjusted by the user using the grid's column header menu (this menu can be disabled through configuration). Through this menu users can configure, enable, and disable filters for each column.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.extjs.gxt.ui.client.widget.grid.filters.AbstractGridFilters
AbstractGridFilters.GridFiltersMessages
 
Field Summary
 
Fields inherited from class com.extjs.gxt.ui.client.widget.grid.filters.AbstractGridFilters
grid
 
Constructor Summary
GridFilters()
           
 
Method Summary
protected  Loader<?> getLoader(Store<ModelData> store)
           
protected  Store<ModelData> getStore()
           
 boolean isLocal()
          Returns true if local filtering is enabled.
 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.extjs.gxt.ui.client.widget.grid.filters.AbstractGridFilters
addFilter, bindStore, buildQuery, cleanParams, clearFilters, getFilter, getFilterData, getMenuFilter, getMessages, getModelFilter, getUpdateBuffer, init, isAutoReload, onBeforeCheck, onBeforeLoad, onCheckChange, onContextMenu, onLoad, onReconfigure, onStateChange, reload, removeAll, removeFilter, setAutoReload, setMessages, setUpdateBuffer, updateColumnHeadings
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GridFilters

public GridFilters()
Method Detail

isLocal

public boolean isLocal()
Description copied from class: AbstractGridFilters
Returns true if local filtering is enabled.

Overrides:
isLocal in class AbstractGridFilters
Returns:
true for local

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).

Overrides:
setLocal in class AbstractGridFilters
Parameters:
local - true for local

getLoader

protected Loader<?> getLoader(Store<ModelData> store)
Specified by:
getLoader in class AbstractGridFilters

getStore

protected Store<ModelData> getStore()
Specified by:
getStore in class AbstractGridFilters