View Full Version : Show only some elements of the store in the grid.
15 Feb 2012, 1:04 AM
i've got an array of indizes from elements in a store. Is there any opportunity or function to show only these elements in the grid without modifying store?
Thanks for helping,
15 Feb 2012, 5:52 AM
The grid will show what's in the store so you would have to filter out those from the store that you don't want to show.
17 Feb 2012, 9:05 AM
Thanks for replying.
So, I've to remove the unwanted elements form the store and if I want to show all again, I'll need to reload it, right?
17 Feb 2012, 9:39 AM
Check the API docs for Ext.data.Store.filter (http://docs.sencha.com/ext-js/4-0/#!/api/Ext.data.Store-method-filter) and Ext.data.Store.filterBy (http://docs.sencha.com/ext-js/4-0/#!/api/Ext.data.Store-method-filterBy).
Powered by vBulletin® Version 4.1.5 Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.