Posted 8 June 2021, 1:57 pm EST
Ctrl+PageUp and Ctrl+PageDown Jumps browser tabs not sheets (Excel 365 does this as well). Desktop Excel jumps Sheet to Sheet.
Would it be possible to fix this to match the actual Sheet to Sheet scenario?
Forums Home / Spread / SpreadJS
Posted by: mwyatt on 8 June 2021, 1:57 pm EST
Posted 8 June 2021, 1:57 pm EST
Ctrl+PageUp and Ctrl+PageDown Jumps browser tabs not sheets (Excel 365 does this as well). Desktop Excel jumps Sheet to Sheet.
Would it be possible to fix this to match the actual Sheet to Sheet scenario?
Posted 9 June 2021, 7:57 am EST
Hi,
We are sorry but thease keys are handled by the browser and can not be prevented that is it could not be supported for the ctrl+pageup/down key. Excel 365 online web application also does not support this shortcut.
Further, You may add this feature on any other key which is not handled by the browser. For adding this feature you need to register the following commands, please refer to the following code snippet and let us know if you face any issues.
let commandManager = spread.commandManager();
commandManger.setShortcutKey(
"navigationNextSheet",
Keycode,
isCtrlKey,
isShiftKey,
isMetaKey
);
commandManger.setShortcutKey(
"navigationPreviousSheet",
Keycode,
isCtrlKey,
isShiftKey,
isMetaKey
);
API References:
navigationPreviousSheet: https://www.grapecity.com/spreadjs/docs/v14/online/SpreadJS~GC.Spread.Sheets.Commands~navigationPreviousSheet.html
navigationNextSheet: https://www.grapecity.com/spreadjs/docs/v14/online/SpreadJS~GC.Spread.Sheets.Commands~navigationNextSheet.html
Regards
Avinash
Posted 1 February 2022, 2:10 pm EST
Hello,
We noticed on https://www.grapecity.com/spreadjs/docs/latest/online/keyboard.html that the Ctrl+PageUp (NavigationPreviousSheet) and Ctrl+PageDown (NavigationNextSheet) are now supported. We are using the latest version of the spreadJS extension but they are still not working for us.
Please help
Thank you
Posted 2 February 2022, 3:34 am EST
Hi,
We are sorry but seems like the mentioned details in docs are incorrect. I have made a request to modify the docs. The internal ID for this issue will be SJS-11791.
Regards,
Avinash