Looks like we can't reproduce the issue or there's a problem in the test case provided.
  1. #1
    Ext JS Premium Member
    Join Date
    Apr 2010
    Location
    Montréal, Canada
    Posts
    221
    Vote Rating
    5
    Christiand is on a distinguished road

      0  

    Default Ext.data.Store

    Ext.data.Store


    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)

  2. #2
    Sencha - Ext JS Dev Team evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    17,006
    Vote Rating
    650
    evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute

      0  

    Default


    To be clear, you're using a buffered store?
    Evan Trimboli
    Sencha Developer
    Twitter - @evantrimboli
    Don't be afraid of the source code!

  3. #3
    Ext JS Premium Member
    Join Date
    Apr 2010
    Location
    Montréal, Canada
    Posts
    221
    Vote Rating
    5
    Christiand is on a distinguished road

      0  

    Default


    correct!

  4. #4
    Sencha - Ext JS Dev Team dongryphon's Avatar
    Join Date
    Jul 2009
    Posts
    1,367
    Vote Rating
    136
    dongryphon is a splendid one to behold dongryphon is a splendid one to behold dongryphon is a splendid one to behold dongryphon is a splendid one to behold dongryphon is a splendid one to behold dongryphon is a splendid one to behold

      0  

    Default


    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!
    Don Griffin
    Ext JS Development Team Lead

    Check the docs. Learn how to (properly) report a framework issue and a Sencha Cmd issue

    "Use the source, Luke!"

  5. #5
    Ext JS Premium Member
    Join Date
    Apr 2010
    Location
    Montréal, Canada
    Posts
    221
    Vote Rating
    5
    Christiand is on a distinguished road

      0  

    Default


    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.

  6. #6
    Sencha - Ext JS Dev Team dongryphon's Avatar
    Join Date
    Jul 2009
    Posts
    1,367
    Vote Rating
    136
    dongryphon is a splendid one to behold dongryphon is a splendid one to behold dongryphon is a splendid one to behold dongryphon is a splendid one to behold dongryphon is a splendid one to behold dongryphon is a splendid one to behold

      0  

    Default


    What was the need pushing you to a buffered store? If that was for buffered rendering, that will be improved in 4.2...
    Don Griffin
    Ext JS Development Team Lead

    Check the docs. Learn how to (properly) report a framework issue and a Sencha Cmd issue

    "Use the source, Luke!"

  7. #7
    Ext JS Premium Member
    Join Date
    Apr 2010
    Location
    Montréal, Canada
    Posts
    221
    Vote Rating
    5
    Christiand is on a distinguished road

      0  

    Default


    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

    http://www.sencha.com/forum/showthre...502#post935502

    So I can't wait to have 4.2 GA or another beta(?)

  8. #8
    Sencha User
    Join Date
    Dec 2011
    Location
    Russia
    Posts
    16
    Vote Rating
    0
    zloi is on a distinguished road

      0  

    Default


    Let me ask one more thing about Ext.data.Store
    store has load event
    Code:
    load( this, records, successful, eOpts )
    in later versions of extjs when store has no loaded records i had empty array in the second argument,
    now in this case i have store object like in first argument.

  9. #9
    Sencha User
    Join Date
    Dec 2011
    Location
    Russia
    Posts
    16
    Vote Rating
    0
    zloi is on a distinguished road

      0  

    Default


    one more:
    Code:
    store.find()
    returns an error
    Code:
    TypeError: Object [object Object] has no method 'createValueMatcher'
    Ext.util.AbstractMixedCollection still has this method..

Thread Participants: 3