I have created a list with the code given below it works fine now I want to show hide extraInfo Div on itemTap of the list. How can I Do that? Please help me
{
xtype: 'list',
scrollable: true,
itemTpl: new Ext.XTemplate('<div class="schedule">',
'<div class="scheduleInfo">',
'<div class="gameDate">',
'<div class="weekDay">{weekDay}</div>',
'<div class="day">{day}</div>',
'</div>',
'<div class="gameInfo">',
'<div class="timeLocation">',
'{time} / {location}',
'</div>',
'</div>',
'</div>',
'<tpl if="hasExtraInfo === true">',
'<div class="extraInfo">{extraInfo}</div>',
'</tpl>',
'</div>'
),
store: 'Schedule',
itemCls: 'scheduleListItem',
flex : 1
}