27 Feb 2011 11:01 PM #1
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?
18 Apr 2011 12:28 PM #2
this seems to be a pretty common problem that hasn't had any replies. It's been posted by a few different users
26 May 2011 2:24 PM #3
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.
22 Feb 2012 7:43 PM #4
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.
By ajaytushir in forum Community DiscussionReplies: 3Last Post: 9 Sep 2011, 10:34 AM
By stenlik in forum Sencha Touch 1.x: DiscussionReplies: 0Last Post: 2 Dec 2010, 11:29 PM
By eclectus in forum Ext 2.x: Help & DiscussionReplies: 2Last Post: 28 Mar 2008, 1:28 AM
By Emt in forum Community DiscussionReplies: 0Last Post: 5 Mar 2008, 9:27 PM