Spread V11 > Can we disable default functionality of CTRL + V?

Posted by: viswanath.malepati on 6 May 2018, 10:36 pm EST

    • Post Options:
    • Link

    Posted 6 May 2018, 10:36 pm EST

    Hi,

    We have a spread where sheet is protected and some of the cells are locked and some are unlocked.

    Can we disable default functionality of paste (Ctrl+V), so that we want to unlock some cells and then trigger paste, using GC.Spread.Sheets.Commands.paste.execute

    thanks,

    Viswanath

  • Posted 7 May 2018, 10:37 pm EST

    Hi Viswanath,

    You can disable Ctrl+V using the code as follows:

    spread.commandManager().setShortcutKey(undefined, GC.Spread.Commands.Key.v, true, false, false, false);

    Thanks,

    Deepak Sharma

Need extra support?

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

Learn More

Forum Channels