How to perform View-Controller separation when using an “actioncolumn” (Ext.grid.column.Action)
问题 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: /* ... */ { xtype: 'gridpanel', columns: [ /* ... */ { xtype: 'actioncolumn', items: [{ handler: function(grid, rowIndex, colIndex) { // my action } }] } ] } Now I want to introduce the View-Controller separation. So I have to move the handler from the View to the Controller. But how does the controller register its method to the