[OPEN] [#270] [2.x] Buffered store with buffered rendering

  1. #1

    [OPEN] [#270] [2.x] Buffered store with buffered rendering

    Hello.

    I have a grid with a buffered renderer and buffered store. As far as I understand, when I am scrolling the grid, records are loaded and cached inside the store. Assume that I scroll the grid as long as 2 pages were loaded from the server.

    How can I invalidate page cache? I tried to call loadPage method for each page, but it does not work. It is very important for me to refresh all pages from the server and do not change scroll position.

    Best regards.
    Last edited by Daniil; Jun 10, 2013 at 10:26 AM. Reason: [OPEN] [#270]
  2. #2
    Hi,

    Well, I can't see anything in API to do that...

    Well, I would try this:
    store.reload(store.lastOptions);
    But, I think it will be kind of magic if it works as you need:)

    Also I feel this method can be helpful.
    http://docs.sencha.com/extjs/4.2.1/#!/api/Ext.data.Store-method-getRange

    Quote Originally Posted by Leonid_Veriga View Post
    It is very important for me to refresh all pages from the server and do not change scroll position.
    Do you want it to be done absolutely seamlessly for a user?
  3. #3
    Yes, I would like to do it seamlessly for a user.
    Thank you for you suggestions. I will try it.
  4. #4
    A store's reload assumes it should be reload with last options. So, I am not sure why I put it. It should be enough:
    store.reload();
    But it throws JavaScript errors with a buffered grid. I reported to Sencha.
    http://www.sencha.com/forum/showthread.php?265513
  5. #5
    My report duplicates another one.
    http://www.sencha.com/forum/showthread.php?264733

    Created an Issue to track this defect.
    https://github.com/extnet/Ext.NET/issues/270
  6. #6
    uh.. hello! :)

    Seems this thread involves only current Object.NET employees, that's funny! :)

    But well, I'm marking this thread as 'FIXED' following up to Sencha's update. If this issue still is up and bugging anyone in recent Ext.NET versions, just let us know and we'll get to the bottom of it!
    Fabrício Murta
    Developer & Support Expert

Similar Threads

  1. Replies: 3
    Last Post: Aug 02, 2018, 6:58 PM
  2. Replies: 5
    Last Post: Jun 10, 2016, 8:58 PM
  3. Replies: 21
    Last Post: Apr 27, 2016, 2:40 AM
  4. [CLOSED] buffered grid rendering slowly
    By EddieJensen in forum 2.x Legacy Premium Help
    Replies: 4
    Last Post: Feb 14, 2013, 5:02 AM
  5. [CLOSED] RemoteSort for buffered store
    By gets_gui in forum 2.x Legacy Premium Help
    Replies: 46
    Last Post: May 27, 2012, 8:02 PM

Posting Permissions