如何使用旋转木马&嵌套列表示例中的选项卡

时间:2010-12-03 13:08:24

标签: extjs sencha-touch nested-lists

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 ]
}

它既没有错误。那我们怎么称它呢?

1 个答案:

答案 0 :(得分:0)

在嵌套列表中,调用detailCard

类型的Ext.Panel

在该面板中,将您的轮播添加到项目数组中。