Grid: Show only certain entries WITHOUT emptying store
Grid: Show only certain entries WITHOUT emptying store
Hello all -
I have an Ext.grid.GridPanel with several columns, one of which is called "fruit". I want to "filter" the grid to allow viewing of one fruit at a time.
Example: User clicks "apple" button ==> grid shows only records with "fruit"="apple".
The key here is that I DO NOT want to empty my datastore. I want the user to subsequently click "pear" and have the grid show only those records with "fruit"="pear".
Does anyone know how to do this? I'm in Ext 3.3.1.