You found a bug! We've classified it as EXTGWT-3146 . We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.
  1. #1
    Ext GWT Premium Member
    Join Date
    Oct 2010
    Posts
    178
    Vote Rating
    0
    dxdev is on a distinguished road

      0  

    Default Getting multiple requests with scrolling on Live Grid.

    Getting multiple requests with scrolling on Live Grid.


    I have a live grid view implemented as in the LiveGridEample. When I do scrolling on this multiple request are made with the same offset and limit value.

    I have my
    LiveGridView.cachesize as 20 and
    LiveGridView.prefetchfactor as 0.2

    Intially, when the grid is loaded there was one request made with offset 0 and limit 20,
    but as soon as I reach the 20th record by scrolling multiple requests are being made to get the next set of data with the same offset and limit value.

    I am not sure that from where these multiple calls are getting triggered. Any help on this is much appreciated.

  2. #2
    Software Architect
    Join Date
    Sep 2007
    Posts
    13,971
    Vote Rating
    132
    sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light

      0  

    Default


    How many rows have you visible in your grid?

    Which version of GXT are you using?

  3. #3
    Ext GWT Premium Member
    Join Date
    Oct 2010
    Posts
    178
    Vote Rating
    0
    dxdev is on a distinguished road

      0  

    Default


    Initailly it displayed 11 rows and I am using Ext GWT 2.2.5.

  4. #4
    Software Architect
    Join Date
    Sep 2007
    Posts
    13,971
    Vote Rating
    132
    sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light

      0  

    Default


    There should not be two requests containing the same values. I will move this thread to the bugs forum for further investigation. Have you tried to increase your cacheSize?

  5. #5
    Ext GWT Premium Member
    Join Date
    Oct 2010
    Posts
    178
    Vote Rating
    0
    dxdev is on a distinguished road

      0  

    Default


    Yes, I tried with different cache size. Even then I got multiple request with same value.

  6. #6
    Sencha User
    Join Date
    Nov 2012
    Posts
    8
    Vote Rating
    0
    pitt is on a distinguished road

      0  

    Default


    The same happens with GXT 3.0.1. LiveGridView starts endless loop to fetch the data.

  7. #7
    Sencha - GXT Dev Team
    Join Date
    Jan 2012
    Location
    Arlington, WA
    Posts
    403
    Vote Rating
    15
    branflake2267 will become famous soon enough

      0  

    Default


    Thanks for reporting. We will update the thread once some headway has been made.