linuxyf
24 Nov 2011, 7:22 PM
after tap the list's default item button, i want to display another view, so i want to respond the list's default button event in controller rather than in onItemDiscolosure event, how to do?
xtype: 'list', width: 400,
height: 600,
id: 'grplist',
store: 'GroupInfo',
itemTpl: '<strong>{syohin_gr_name}',
onItemDisclosure: function(record, btn, index) {
alert(record.get('syohin_gr_id'));
}
xtype: 'list', width: 400,
height: 600,
id: 'grplist',
store: 'GroupInfo',
itemTpl: '<strong>{syohin_gr_name}',
onItemDisclosure: function(record, btn, index) {
alert(record.get('syohin_gr_id'));
}