1. #1
    Sencha User
    Join Date
    Jul 2012
    Posts
    35
    Vote Rating
    0
    manoveg is on a distinguished road

      0  

    Default Unanswered: list refresh not happening

    Unanswered: list refresh not happening


    Hi,

    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 - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,095
    Answers
    3503
    Vote Rating
    855
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    It is optimal to load your TreeStore up front. Also, reducing the number of requests is a performance gainer.
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    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 services@sencha.com

    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.

Thread Participants: 1

Tags for this Thread