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


    Default LiveGrid loading endless loop

    LiveGrid loading endless loop


    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?


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




    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
    Vote Rating
    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



    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
    Washington DC
    Vote Rating
    zeroed is on a distinguished road



    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

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi