1 Feb 2013 4:47 PM #1
using Ext.data.Store collec method gives
data.collect is not a function ext-all-dev.js (line 96323)
(firebug show data as Ext.util.LruCache)
1 Feb 2013 4:56 PM #2
- Join Date
- Apr 2007
- Sydney, Australia
- Vote Rating
To be clear, you're using a buffered store?Evan Trimboli
Twitter - @evantrimboli
Don't be afraid of the source code!
1 Feb 2013 8:34 PM #3
4 Feb 2013 12:22 PM #4
What do you expect to get back in this case? Using a buffered store only some portion of the data set is going to be available locally. In old versions this ended up calling code that would produce a result, but that result is a bit suspect. So when we changed to page caching we did not try to replicate the interface where we could see no meaningful way to achieve the goal of the API.
Just curious if this is a case we missed or not. Thanks!
4 Feb 2013 12:34 PM #5
I was building a navigation menu with this before we implemented the buffered store. Now, I have a note (to do that this menu is incomplete and it only has the current viewed records.
I can replace this somehow with server query or sotre.qeury method.
4 Feb 2013 1:05 PM #6
What was the need pushing you to a buffered store? If that was for buffered rendering, that will be improved in 4.2...
4 Feb 2013 3:12 PM #7
Yes Don, we load grid with many records based on different request and rendering a grid using different renredrer on columns takes up a lot of time. With buffered grid, the load/render time is always the same, great experience for the user (thanks for that!).
We have a bug with the buffered grid however and I can't tackled down the root of the problem. So I decided to give 4.2 a shot, you know to change my mind and to see how things work with 4.2. The problem I have in my app described in this thread is not happening in 4.2
So I can't wait to have 4.2 GA or another beta(?)
5 Feb 2013 11:39 PM #8
Let me ask one more thing about Ext.data.Store
store has load event
load( this, records, successful, eOpts )
now in this case i have store object like in first argument.
6 Feb 2013 1:56 AM #9
TypeError: Object [object Object] has no method 'createValueMatcher'