Results 1 to 2 of 2

Thread: NestedList Leaf Add Panel with Components

  1. #1
    Sencha User
    Join Date
    Nov 2011
    Vote Rating

    Default Unanswered: NestedList Leaf Add Panel with Components

    Hello Everyone,

    This is my first post and I am new to Sencha! I have been going through the examples and Google, and have not found the answer to this. I cannot imagine that it is too difficult...

    This is my viewport.js file

    App.views.Viewport = Ext.extend(Ext.NestedList, {
    fullscreen: true,
    title: 'MainMenu',
    store: App.MainMenu_store,
    getDetailCard: function(item, parent) {
    var itemData =,
    detailCard = new Ext.Panel({
    items: [App.views.mapPanel]
    this.backButton.setText("Main Menu");
    return detailCard;

    App.views.mapPanel = new Ext.Panel({
    fullscreen: true,
    dockedItems: [maptoolbar],
    items: [mapdemo]

    I have tried this and obviously it does NOT work.. I have also tried adding the dockedItems and Items from the mapPanel directly into the detailCard, but everytime I do.. the detailcard does not display..

    Thank you in advance for taking the time to help me!


  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Gainesville, FL
    Vote Rating


    You are trying to add another component to NestedList? You cannot do that, it creates it's own items based on the TreeStore
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    Learn BBCode and use it!

    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2

    Think my support is good? Get more personalized support via a support subscription.

    Need more help with your app? Hire Sencha Services

    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.

Posting Permissions

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