GC.Spread.Commands Namespace > CommandManager class : CommandManager Constructor |
var instance = new GC.Spread.Commands.CommandManager(context);
function CommandManager( context : Object ) : CommandManager;
var manager = spread.commandManager(); var upKey = manager.setShortcutKey(undefined, GC.Spread.Commands.Key.up, false, false, false, false); var downKey = manager.setShortcutKey(undefined, GC.Spread.Commands.Key.down, false, false, false, false);