Pause Shortcut Key and Resume

Posted by: pchava on 11 October 2018, 9:45 pm EST

  • Posted 11 October 2018, 9:45 pm EST

    I have a usecase where I need to pause Shortcut Key handlers for specific keys (better to pause for all keyboard keys) and resume it back again. How can I do that?
  • Replied 16 October 2018, 12:53 am EST

    Hello,

    Spread.Views does not have KeyBoards event associated with it. You may need to handle the DOM keyboard events in code manually.



    Thanks,
    Deepak Sharma
  • Replied 16 December 2018, 7:35 pm EST

    I think spread.focus(false) will stop all the navigation keyboard events
  • Marked as Answer

    Replied 17 December 2018, 11:51 pm EST

    Hello,

    Spread.Views does not have a focus() method but Spread.Sheets has.
    If you are working with Spread.Views you would need to handle the events(selectionchanged, focuschanged, startediting etc) manually and cancel the event.

    Thanks,
    Deepak Sharma
  • Replied 18 December 2018, 7:55 pm EST

    Great. Thanks for the details.

    Since we are working on Spread.Sheets, we are in that context.
Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels