28 Jun 2013 11:23 AM #1
How to catch the menuitem's 'click' event from a controller or a grid panel?
I have a controller which handle some events fired by a grid panel, but I don't know how to get the reference to the menu (to sort or group records) displayed when the user clicks on the column header.
Could somebody tell me how to catch the event 'click' fired by that menu?
Thanks in advance,
28 Jun 2013 11:41 AM #2
30 Jun 2013 10:46 PM #3
I would have the controller listen to the sortchange event:
and the groupchange event:
http://docs.sencha.com/extjs/4.2.1/#...nt-groupchangeAre you a Sencha products veteran who has wondered what it might be like to work at Sencha? If so, please reach out to our human resources manager: email@example.com
1 Jul 2013 12:58 PM #4
Thanks. How can I stop the store from being loaded when I click on the grouping item in the context menu?
1 Jul 2013 12:59 PM #5
2 Jul 2013 12:25 PM #6
I'm not sure what you're wanting to do. What do you mean by not loading the store? Is the store not loaded at the time you're interacting with the column header / menu?Are you a Sencha products veteran who has wondered what it might be like to work at Sencha? If so, please reach out to our human resources manager: firstname.lastname@example.org
2 Jul 2013 12:44 PM #7