PDA

View Full Version : Sencha Touch - List



Riaz
27 Sep 2010, 8:39 PM
How do I create List? Any sample example.

evant
27 Sep 2010, 9:40 PM
There's examples of all the components, look under /examples in the download.

andra1104
24 Feb 2012, 9:45 AM
Check this out:

var list = new Ext.List({
itemTpl: '<div class="page">{title}</div>',
ui: 'round',
store: new Ext.data.Store({
fields: ['name', 'card'],
data: this.pages
}),
listeners: {
selectionchange: {fn: this.onSelect, scope: this}
},
title: 'Some title here'
});

Then you can add it into a panel:

var listPanel = new Ext.Panel({
title: 'Some title',
items: list,
layout: 'fit'
});

Hope I could help! Good luck!

salmanmd0786
5 Mar 2012, 12:01 AM
can any one please create a static list using sencha touch and give it to me its damm urgent plzzz......

salmanmd0786
5 Mar 2012, 12:04 AM
hi riaz do u have sound knowledge in sencha touch plzz help me out its very urgent