com.sencha.gxt.data.shared
Interface Store.StoreFilter<M>

Type Parameters:
M - the model type
Enclosing class:
Store<M>

public static interface Store.StoreFilter<M>

Defines the interface for store filters. Filters receive only the last stored version of data, in contrast to 2.x, where the current changed value was always available. To get the change value, ask the Store for a Record instance.


Method Summary
 boolean select(Store<M> store, M parent, M item)
          Indicates if the given item should be kept visible in the store.
 

Method Detail

select

boolean select(Store<M> store,
               M parent,
               M item)
Indicates if the given item should be kept visible in the store. If false is returned, the item will not be visible, and if true is returned, the item may be visible, pending any other filter's decision.

Parameters:
store - the store containing the item to be kept visible
parent - the parent of the item (for hierarchical stores)
item - the item to keep visible
Returns:
true if the item will be visible, false if not


Copyright © 2012. All Rights Reserved.