I am currently working on a list creation process using the following format:
var listTpl = new Ext.XTemplate(
'<div class="menuListItemContainer">',
'<h1>MENU</h1>',
'<tpl for=".">',
'<div class="menuListItem">',
'{title}',
'</div>',
'</tpl>',
'</div>',
'<div class="x-clear"></div>'
);
In my Json file, the {title} values are being populated. However, I am looking for a way to add a specific class to the last item in the list for styling purposes. Any thoughts on how to accomplish this?
Would appreciate any suggestions!