1. #1
    Sencha Premium Member
    Join Date
    Dec 2010
    Posts
    23
    Vote Rating
    2
    jasonsti is on a distinguished road

      0  

    Default Master Detail View

    Master Detail View


    Hi

    got a question regarding Master Detail Views, here is my setup

    Data
    1. json feed for categories
    2. json feed for category list

    what i want to do is in following steps

    1/ display all categories from the categories json feed
    2/ user click on a category from the categories view, it will take the user to the list of category selected(display all related products of that category).
    3/ user click on a product from the category list view, to the final product details view.

    my structure i am thinking is

    have a datastore for the categories, then pass the category id to the next datastore which is the category list that contains all the product detail, what i am not sure is how do i pass the category id on to the category list datastore

    please help me

    thank you advance

    Jason

  2. #2
    Touch Premium Member hotdp's Avatar
    Join Date
    Nov 2010
    Location
    Denmark
    Posts
    603
    Vote Rating
    14
    hotdp will become famous soon enough

      0  

    Default


    For ST2?
    What do you need help with?

  3. #3
    Sencha Premium Member
    Join Date
    Dec 2010
    Posts
    23
    Vote Rating
    2
    jasonsti is on a distinguished road

      0  

    Default


    yes st2, i need help with how to write how my structure is , sorry i am pretty new to st2, if have some sample codes would be perfect.

    cheers

  4. #4
    Touch Premium Member hotdp's Avatar
    Join Date
    Nov 2010
    Location
    Denmark
    Posts
    603
    Vote Rating
    14
    hotdp will become famous soon enough

      0  

    Default


    Quote Originally Posted by jasonsti View Post
    yes st2, i need help with how to write how my structure is , sorry i am pretty new to st2, if have some sample codes would be perfect.

    cheers
    Hi,
    It sounds very basic on you should be able to do it very easy with Architect. I could do it for you but I think you will learn more by doing it yourself. There are many examples you could look at and if you have problems post them here and I will try to help.

  5. #5
    Touch Premium Member hotdp's Avatar
    Join Date
    Nov 2010
    Location
    Denmark
    Posts
    603
    Vote Rating
    14
    hotdp will become famous soon enough

      0  

    Default


    Hi,
    Created a small project. Should get you started!
    Attached Files

  6. #6
    Sencha Premium Member
    Join Date
    Dec 2010
    Posts
    23
    Vote Rating
    2
    jasonsti is on a distinguished road

      0  

    Default


    Quote Originally Posted by hotdp View Post
    Hi,
    Created a small project very. Should get you started!
    thank you hotdp this is a awesome example thank you so much

    Jason

  7. #7
    Touch Premium Member hotdp's Avatar
    Join Date
    Nov 2010
    Location
    Denmark
    Posts
    603
    Vote Rating
    14
    hotdp will become famous soon enough

      0  

    Default


    @jasonsti requested a version with a detail view.
    Enjoy!
    Attached Files

  8. #8
    Sencha Premium Member
    Join Date
    Dec 2010
    Posts
    23
    Vote Rating
    2
    jasonsti is on a distinguished road

      0  

    Default


    Quote Originally Posted by hotdp View Post
    @jasonsti requested a version with a detail view.
    Enjoy!
    thank you so much Hotdp you are the Legend

    thanks again!

    Jason

  9. #9
    Sencha Premium Member
    Join Date
    Dec 2010
    Posts
    23
    Vote Rating
    2
    jasonsti is on a distinguished road

      0  

    Default


    Quote Originally Posted by hotdp View Post
    @jasonsti requested a version with a detail view.
    Enjoy!
    Hi hotdp

    plesae have a look at the project i done, when i hit the product detail view, it only show the first record {ProductName} i have a second tag {ProductCategory} that is not show up, not sure what i have done wrong here, can you please have a look at it for me

    cheers

    Jason
    Attached Files

  10. #10
    Sencha User
    Join Date
    May 2012
    Posts
    1
    Vote Rating
    0
    mrcgl is on a distinguished road

      0  

    Default


    Sorry, but how to open your.xds example??

Thread Participants: 2