PDA

View Full Version : Hidden Data in a Data Store



mfw24
10 Aug 2007, 6:27 PM
I think this is a really easy one...

Is it possible to load data into a data store that isn't mapped to a grid column?

The reason I would want to do this is because there is data i want to use (per record) but not show.


Thank you.

kenITR
10 Aug 2007, 7:13 PM
yes.

mfw24
10 Aug 2007, 9:42 PM
could you please show me an example? (or point me to one)

MaximGB
10 Aug 2007, 11:34 PM
Use stores filter() or filterBy(), but there are pitfalls if you'll modify (delete or add records), in any case you should do it on unfiltered store, so don't forget clearFilter(), and it's extremly usefull parameter ;)

p.s. Forgot to mention stores pruneModifiedRecords config option.

matjaz
11 Aug 2007, 1:07 AM
If you're asking about columns (not rows) you define column model to specify which data will be shown in grid. Others are ignored (but remains in store).

mfw24
11 Aug 2007, 10:29 AM
thank you both!