I'm trying to add an IG shortcut key for Copy Down (APEX 20.2). However, it throws an error and the page won't even render:
Cannot set properties of undefined (setting 'shortcut')
The initialisation code is:
function(options) {
options.initActions = function (actions) {
actions.lookup("selection-copy-down").shortcut = "Alt+V";
actions.update("selection-copy-down");
}
return options;
}
I guess this has to do with the fact that Copy Down is not active when the IG is rendered, because it works for an already active action, like this one:
function(options) {
options.initActions = function (actions) {
actions.lookup("selection-refresh").shortcut = "Alt+R";
actions.update("selection-refresh");
}
return options;
}
Any ideas how to add a shortcut for copy down?