Results 1 to 5 of 5

Thread: BufferedStore vs BufferedRender in EXT JS 6.2

  1. #1
    Sencha Premium User
    Join Date
    Aug 2016
    Posts
    30

    Question BufferedStore vs BufferedRender in EXT JS 6.2

    I think I'm confused as to what the differences between the BufferdStore and the BufferedRenderer at in the latest version of Ext JS 6.2 and which one would I use to get Infinite Scrolling to work with a Rest API

  2. #2
    Sencha Premium User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,379
    Answers
    3997

    Default

    BufferedStore only holds a portion of the data available and will load pages of data that it's told to my the grid. BufferedRenderer works on the view to only render what the grid wants to render but the store has all the data loaded. So if you are working with a ton of data that will choke the browser to load it all, then BufferedStore is what you should use. They also are not mutually exclusive.
    Mitchell Simoens @LikelyMitch

    Check out my GitHub:
    https://github.com/mitchellsimoens

    Posts are my own, not any current, past or future employer's.

  3. #3
    Sencha Premium User
    Join Date
    Aug 2016
    Posts
    30

    Default

    So your saying don't use the BufferedRender plugin if I'm using a BufferedStore? Also if I'm using the BufferedStore do I still need the "buffered: true" property? Or is that already turned on by default?

  4. #4
    Sencha Premium User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,379
    Answers
    3997

    Default

    No, depends what you have to work with. I also said they are not mutually exclusive. In fact, if the grid isn't auto sized (no size given by config or parent layout) then Ext JS actually turns BufferredRenderer on automatically.
    Mitchell Simoens @LikelyMitch

    Check out my GitHub:
    https://github.com/mitchellsimoens

    Posts are my own, not any current, past or future employer's.

  5. #5
    Sencha Premium User
    Join Date
    Aug 2016
    Posts
    30

    Default

    I'm using an oData Rest API and population a grid.Panel, but I'm having trouble getting it to work. Been trying to get the BufferedStore to fetch data but it stops after the first request. Meaning page loads. It pulls in the first hundred records from my Rest API as Json, but as you scroll down the page nothing happens. It just gets to the end of the first 100 and stops. I thought it was supposed to fetch the next set of data for me as I scrolled down, but it doesn't work for me.

Similar Threads

  1. Replies: 1
    Last Post: 20 Feb 2018, 11:24 PM
  2. how to get reference bufferedrender plugin
    By ttbgwt in forum Sencha Ext JS Q&A
    Replies: 1
    Last Post: 28 Sep 2016, 11:19 AM
  3. bufferedrender grid loss state
    By helixtomcat in forum Ext 5: Bugs
    Replies: 5
    Last Post: 4 Jun 2015, 11:43 PM
  4. Replies: 2
    Last Post: 30 Sep 2014, 11:36 PM
  5. Replies: 4
    Last Post: 24 Sep 2014, 11:02 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •