Results 1 to 2 of 2

Thread: list refresh not happening

  1. #1
    Sencha User
    Join Date
    Jul 2012
    Vote Rating

    Default 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.
    Please help.

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    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.
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    Learn BBCode and use it!

    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.

    Need more help with your app? Hire Sencha Services

    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.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts