In ExtJS 4, I have a grid that contains an action column. Whenever that action is triggered, I want to execute \"my action\".
Without MVC, this would look like this:
This post explains an even simpler method than the accepted answer, if you only happen to have one type of actioncolumn
item in your grid:
http://mitchellsimoens.com/actioncolumn-and-mvc/
Basically: just listen for the actioncolumn
's click
event in your controller. However, this doesn't work if you need to distinguish between multiple actioncolumn
types.