PDA

View Full Version : Ext.List refresh() method does not work



Rufix
18 Oct 2011, 2:26 AM
var z = Ext.getStore('ExpertStore');
z.data = getData();
var l = Ext.getCmp('indexlistexps');
l.refresh();


Here's a little bit of code. refresh method throws following error:

"Uncaught TypeError: Object [object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object] has no method 'getRange'"

I tried digging code of getRange, but can't find the reason why such thing happens. I even overridden every method that threw an exception, but after getting to 'prepareAssociatedData' it's become obsolete... This is REALLY urgent, so please heeeeelp!

Regards and thanks in advance:)