Posted 8 March 2023, 9:15 pm EST
Hello Kirill,
It seems that you’re interested in integrating additional keyboard shortcut keys into your project. To achieve this, you’ll need to acquire the “SpreadJS.Shortcuts.Extension.15.0.3.zip” file located in the “Keyboard Shortcuts” folder from the following GitHub repository: https://github.com/GrapeCity/spreadjs-resources.
The aforementioned zip file contains an assortment of command categories that correspond to different shortcut keys. For instance, if you’re interested in Style-related commands, you can navigate to the “src/shortcut/action.style.ts” file within the downloaded folder. Based on your requirements, you can include the relevant files into your project.
To supplement this information, we’ve attached a sample that showcases the integration of style-related commands (shortcut keys). You can access the sample via this link: https://jscodemine.grapecity.com/share/PE4o3LnlyUqhfrj728rnyw/?defaultOpen={“OpenedFileName”:[“/index.html”,“/src/app.ts”],“ActiveFile”:“/src/app.ts”}
Additionally, if you need further assistance, please refer to the following documentation resources:
Keyboard Navigation Shortcut: https://www.grapecity.com/spreadjs/docs/features/keyboard-actions/keyboard#additional-keyboard-shortcuts
CommandManager: https://www.grapecity.com/spreadjs/api/classes/GC.Spread.Commands.CommandManager#class-commandmanager
I hope this helps! Let me know if you have any further queries.
Regards,
Ankit