PDA

View Full Version : How to use carousel & tab in Nested list example



shah_ankitb
3 Dec 2010, 5:06 AM
http://dev.sencha.com/deploy/touch/examples/nestedlist/

In nested listing i have
Home , when i click on that i moved to Product in that product i have to display tab carousel or tab. But i'm unable to manage.

We have this carousel

// Create a Carousel of Items
var carousel = new Ext.Carousel({
defaults: {
cls: 'card'
},
items: [{
html: '<h1>Carousel</h1><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'
}]
});

In nested listing i'm giving

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

It neither gives error. So how can we call it?