View Full Version : Problem to select item on the List items

13 Feb 2011, 6:08 PM
I am trying to select item from the list items but it is not showing whether it is selected or not.

what should I do for that.

My code is -

var ProjectList = new Ext.List({
title: 'Project',
iconCls: 'bookmarks',
layout: 'card',

//List Structure
itemTpl: '{ProjectNumber} {ProjectName} {ProjectStatus}',
tpl: '<tpl for="."><div class="project"><strong>{ProjectName}</strong> {ProjectNumber} {ProjectStatus} </div></tpl>',
itemSelector: 'div.Project',
singleSelect: true,
grouped: true,
indexBar: false,

store: new Ext.data.Store({
model: 'Project',
proxy: {
type: 'ajax',
url: '/home/index',
reader: {
type: 'json',
root: 'data'
actionMethods: {
read: 'POST'
autoLoad: true,

getGroupString: function (record) {
return record.get('ProjectStatus');


}) // ~Get ProjectList with Project Tab