You can create a custom action map.
This example creates a custom action map for the Enter key.
JavaScript |
Copy Code
|
---|---|
var spread = new GC.Spread.Sheets.Workbook(document.getElementById("ss"),{sheetCount:3}); spread.commandManager().register('myCmd', //Map the created action to the Enter key. |