it's very useful one.
Just i tried one another alternative
Code:
items: [
{
xtype: 'list',
cls: 'nestedmenuleft',
layout : 'fit',
useToolbar : false,
flex: 1,
emptyText : 'No Outlets found.',
/*id: 'promotionOutletlist',
itemId: 'promoOutletlist',*/
scrollable: {
direction: 'vertical'
},
store:'PromotionNewStore',
itemTpl:'<div class="listview_list"><ul class="testdata1"><li>{OUTLET_ADDRESS}</li><li>{OUTLET_NAME}</li><li>{OUTLET_STATE}</li><li>{OUTLET_POSTCODE}</li><li>{OUTLET_NOTE}</li><li>{OUTLET_EMAIL}</li><li>Open Time : {OPEN_TIME}</li><li>Close Time : {CLOSE_TIME}</li></ul><ul class="testdata2" style="background:red;"><li><a href="tel:{CONTACT_NO}" name=tel:{CONTACT_NO}>{CONTACT_NO}</a></li></ul></div>',
}
],
listeners: [
{
fn: 'onSaveTap',
element: 'element',
delegate: 'ul.testdata1',
event: 'tap',
scope: this
},
{
element: 'element',
delegate: 'ul.testdata2',
event: 'tap',
fn: function() {
console.log('Two!');
}
}
],
Now my onSaveTap function written in controller. when ever i deployed application it's not calling at all. Not showing any log also. second tap log is working fine.
How i can make the function work in view from controller.
Advance Thanks.