-
10 Dec 2011 3:11 PM #1
List and PR3
List and PR3
I'm seeing strange behavior with List/Store in PR3. I am manually adding objects to the store (no proxy) but not all of the objects are being displayed in the List. I think the "paging" feature may be the culprit as I'm only seeing 5 entries out of 20 and the List can display 5 entries. I tried setting "buffered: false" in the store but that didn't fix it. Furthermore, if I do "grouped: true", it only shows 1 entry.
What's going on? Ideas please....
-
11 Dec 2011 11:57 PM #2
Could you please provide a test case so we can look into it?
Sencha Inc.
Robert Dougan - @rdougan
Sencha Touch 2 and Ext JS 4 Core Team Member, SASS/Theming Wizard.
-
12 Dec 2011 6:49 AM #3
I'm working on it. I am in the middle of debugging but I can share some findings with you already...
There is a bug that is triggered in the "insert' method on the "Store" class when it fires the "add" event:
Therefore this code NEVER gets executed:Code:me.fireEvent('add', me, records, index);
As a result, the insert method never completes. This explains the missing entries. Not sure why yet.Code:me.fireEvent('datachanged', me); if (me.autoSync && sync) { me.sync(); }


Reply With Quote