View Full Version : Problem: respond the default item button event of list in controller

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) {

25 Nov 2011, 8:12 AM
ListDisclosure is it's own Component and therefore should be able to be resolved via ComponentQuery.

Also, tapping on the disclosure will fire the disclose action.

26 Nov 2011, 8:20 AM
i see, thank you very much!