View Full Version : Adding Class over the list

1 Feb 2011, 9:17 AM
i want to add a class or html over the list my list is some thing like this

var list = new Ext.List({
itemTpl : [
'<div class="roundedBorder">',
'<div class="homeList">',
'<div class="{logoCls} fltL">{module}</div>',
'<div class="arrowRt fltR"></div>',

'<div class="p10 homeMainListDesc">{description}</div>',
singleSelect: true,
allowDeselect: false,
indexBar: true,
store: itemStore,
listeners: {
itemtap: function (view, index, item, e){


when it get renders i wanted the list to be surrounded by a div etc which have my defined class, is it possible ?