1. #1
    Sencha User
    Join Date
    Sep 2014
    Posts
    3
    Vote Rating
    0
    devlocalrus2 is on a distinguished road

      0  

    Default Unanswered: DIsplaying a list in the Nested list Detail card.

    Unanswered: DIsplaying a list in the Nested list Detail card.


    Hi,

    I am trying to display a list view which I have created in the detail card of the nested lists. The reason why I want to do this is, I use the nested lists to navigate through the categories and want to display the list of products in the detail card.

    Please suggest on, how to call a list on detail card, by taking the category id as a parameter so the data store can get the products of that category.

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,330
    Answers
    3541
    Vote Rating
    847
    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


    In this example: http://cdn.sencha.com/touch/sencha-t...ist/index.html if you look at the source it sets the detailCard config of the NestedList. You can set this to anything even a List. You can also set it dynamically using the setDetailCard method.
    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.