PDA

View Full Version : store.insert gives error in Ext.util.Observable



theyang
31 May 2011, 4:55 AM
When I call store.insert and insert an object into the store, I get a "Cannot read property 'items' of undefined." error.

I debugged through the code and found out that the error originates from fireEvent function of Ext.util.Observable, from this line:


ret = ev.fire.apply(ev, a);

This is line 595 of sencha-touch-debug.js.

Any ideas?