1. #1
    Ext GWT Premium Member
    Join Date
    Oct 2010
    Posts
    9
    Vote Rating
    0
    Efrat Arvats is on a distinguished road

      0  

    Default LiveGrid loading endless loop

    LiveGrid loading endless loop


    Hello,

    I'm using the LiveGrid component with RPC proxy.
    From some reason the load method of my proxy is called all the time.
    When I debugged it, I saw that the grid got 2 events simultaneously: resize and afterRender (which calls the refresh methods).
    Those 2 events caused a redundant load which is called before the first load was finished.
    The result is that storeDataChanged of the LiveGridView is called all the time, it calls updateRows, which calls loadLiveStore (because isLoading is false all the time after the second load).
    Do you have any idea?

    Thanks,
    Efrat

  2. #2
    Sencha Premium Member
    Join Date
    Jun 2009
    Posts
    6
    Vote Rating
    0
    hellofornow is on a distinguished road

      0  

    Default


    bump

    this seems to be a pretty common problem that hasn't had any replies. It's been posted by a few different users

  3. #3
    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 was one known infinite loop with an empty result set. This is fixed in SVN already.


    http://www.sencha.com/examples/#livegrid This example both calls afterRender and onResize and only one loading occurs. Please post a fully working testcase that implements EntryPoint and shows your problem.


    Is it possible that you have your loadDelay set to 0? Than this is the expected behaviour. set it to something higher.

  4. #4
    Sencha User zeroed's Avatar
    Join Date
    Aug 2008
    Location
    Washington DC
    Posts
    135
    Vote Rating
    0
    zeroed is on a distinguished road

      0  

    Default


    I have the same issue.

    I have a live grid with RPC call.

    When I scroll to lets say a half of grid and change a sort order - grid starts to load itself infinitely.

    I'm using gxt 2.2.5 with gwt 2.2.4.

Similar Threads

  1. GXT LiveGrid set default string before loading the data.
    By ajaytushir in forum Community Discussion
    Replies: 3
    Last Post: 9 Sep 2011, 10:34 AM
  2. Endless carousel loop (cardswitch not called when user scrolls too fast)
    By stenlik in forum Sencha Touch 1.x: Discussion
    Replies: 0
    Last Post: 2 Dec 2010, 11:29 PM
  3. Date Range example causing endless loop
    By eclectus in forum Ext 2.x: Help & Discussion
    Replies: 2
    Last Post: 28 Mar 2008, 1:28 AM
  4. How to use LiveGrid for loading data from XML.
    By Emt in forum Community Discussion
    Replies: 0
    Last Post: 5 Mar 2008, 9:27 PM

Thread Participants: 3

Tags for this Thread