Results 1 to 2 of 2

Thread: list refresh not happening

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Sencha User
    Join Date
    Jul 2012
    Posts
    35
    Vote Rating
    0
      0  

    Default 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 - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,556
    Answers
    3932
    Vote Rating
    1272
      0  

    Default

    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! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

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
  •