Originally Posted by
shepsii
You need to realise that loading from a database is not an instant event - it takes time.
So if you just call store.load() or set autoLoad to true, you can't assume data will be there instantly.
If you want to be able to make that assumption, listen to the load event on the store, and when this event fires, then instantiate your UI.
anhnt3 - could you share your adapted file - perhaps by branching on github? I wish I could spend the time tracking this down myself, personally I used Sencha Touch 2.1 and thought it was still a complete mess and nowhere near production ready. Promising, but when the general release happens, which in my experience with Sencha will be equivalent quality to a release candidate, I'll treat that as a RC and go through it filing all the bugs I can find... excuse my cynicism that there will still be loads!