You can deactivate default key actions.
This example removes the default up and down arrow key actions.
JavaScript |
Copy Code
|
---|---|
$(document).ready(function () { var spread = new GC.Spread.Sheets.Workbook(document.getElementById("ss"),{sheetCount:3}); var activeSheet = spread.getActiveSheet(); 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); }); |