PDA

View Full Version : Problem after upgrading from ExtJS 4.0.7 to ExtJS 4.1.1a



yogev
31 Oct 2012, 7:54 AM
Hi. I have multiple stores, and there's an error with some tree class of mine. The stores are loaded one-by-one which I believe the cause for my problem, since I'm doing Ext.getStore(<name>) on certain stores and they are null on the first run (I saw it debugging with chrome).
How can I make sure everything is loaded by JavaScript and only then it will be initialized?

Thanks.

mitchellsimoens
2 Nov 2012, 6:15 AM
When and where are you doing it?

yogev
4 Nov 2012, 3:39 AM
It's really hard to explain... I believe I know what's the solution, and it's to pre-load all the store files and the controller files. Is it possible? If so, how?

Thanks