Results 1 to 2 of 2

Thread: How to load data to multiple views in Sencha Touch

  1. #1
    Sencha User
    Join Date
    Nov 2014
    Posts
    18
    Vote Rating
    0
      0  

    Default How to load data to multiple views in Sencha Touch

    Hi All, Currently we have an existing report function to load a list of transaction using json.

    Code and Details all posted here:

    http://stackoverflow.com/questions/2...n-sencha-touch

    I want to have an interface like this link:
    http://stackoverflow.com/questions/24022690/sencha-touch-2-3-how-to-scroll-vertically-with-scrolling-operating-on-more-tha
    wherein summary is at the top (a separate view,because the summary should always stay on top while scrolling). and below is the list.
    Since tracker.push(result); is only putting data to one view. What's the best way to load the summary in controller which is on separate view? Thank you and God bless.

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,748
    Answers
    3953
    Vote Rating
    1304
      0  

    Default

    For a list, you would need to give it a store or add/remove records from the store.
    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

Posting Permissions

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