My list looks like this :
var list = new Ext.List({
fullscreen: true,
itemTpl : '{firstName} {lastName}',
store: store
});
and model and store like this:
Ext.regModel('Contact', {
fields: ['firstName', 'lastName']
});
var store = new Ext.data.JsonStore({
model : 'Contact',
},
data: [
{firstName: 'Tommy', lastName: 'Maintz'},
{firstName: 'Rob', lastName: 'Dougan'},
{firstName: 'Ed', lastName: 'Spencer'},
]
});
How would I append to my itemTpl in my list or overwrite it after it has been initialized?
* Edited to reflect the question *
This will do the trick i guess:
When you are using Sencha Touch 2 ( tested it in my app )