3 Aug 2012 1:45 AM #1
Unanswered: list refresh not happening
I am new to sencha so please bear with me.
I have to create a nested list with data coming from database through a api made in php .
So I created two lists with first list populated with api call and then in item tap function of the second list called the other api and passed the selected data so that accordingly dependent items could be loaded. It is working fine till now.
Now I had both these lists in a panel and I have a back button toolbar in the panel. When I click on back button I reloaded the main page but when I go back to list from the main page this time it goes blank.
The same link first time shows the data but after going back from the back button and again clicking the same link it does not shows the list just the empty page.
4 Aug 2012 7:17 PM #2
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
It is optimal to load your TreeStore up front. Also, reducing the number of requests is a performance gainer.
Sencha Inc, Senior Software Engineer
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services firstname.lastname@example.org
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!
When posting code, please use BBCode's CODE tags.