I have an ExtJS gridPanel with a button that fires a global function:
grid = Ext.create('Ext.grid.Panel', {
...
tbar: [
{
xtype: 'button',
text: 'Group',
handler: group // call to global function
}
]
...
});
After I have called the group function, I need to call another global function, for instance renameGroups; how do I place this function, or indeed any additional functions, in the handler?