2010-12-03 58 views
1

http://dev.sencha.com/deploy/touch/examples/nestedlist/如何使用轉盤和標籤中嵌套列表例如

在嵌套的房源,我有 家,當我點擊我在該產品我要顯示選項卡傳送帶或標籤移動產品。但我無法管理。

我們有這個旋轉木馬

// Create a Carousel of Items 
    var carousel = new Ext.Carousel({ 
    defaults: { 
      cls: 'card' 
      }, 

    items: [{ 
      html: '<p>Navigate the two carousels on this page by swiping left/right or   
      clicking on one side of the circle indicators below.</p>' 
      }, 
     { 
      title: 'Tab 2', 
      html: '2' 
      }, 
     { 
      title: 'Tab 3', 
      html: '3' 
     }] 
    }); 

在嵌套上市我給

{ 
text: 'Wer sind Wir', 
items: 
[ carousel ] 
} 

它既不給人錯誤。那麼我們怎麼稱呼它呢?

+0

你能整體粘貼你的代碼嗎?我認爲這應該很容易解決。 – 2011-01-18 04:44:55

回答

0

在嵌套列表呼叫類型Ext.Panel

在這種面板的detailCard你的旋轉木馬添加的物品數組。