What is spreadActions.none in spreadjs 10?

Posted by: arnoldbendaa on 1 November 2017, 1:29 pm EST

    • Post Options:
    • Link

    Posted 1 November 2017, 1:29 pm EST

    I am upgrading spreadjs 8 to 10.

    By the way I cannot upgrade this line.

    			sheet.addKeyMap(GC.Spread.Sheets.Key.del, false, false, false, false, GC.Spread.Sheets.SpreadActions.none);
    
    

    I think this is delete disable function.

    How can I upgrade this line?

  • Posted 1 November 2017, 4:26 pm EST

    Hello,

    Due to API changes from older to latest version, GcSpread.Sheets.SpreadActions have been changed to GC.Spread.Sheets.Commands. Hence, you can use the below mentioned code for the requested functionality.

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

    http://help.grapecity.com/spread/SpreadSheets10/webframe.html#scmapchange.html

    http://help.grapecity.com/spread/SpreadSheets10/webframe.html#scmap.html

    Hope it helps.

    Thanks,

    Reeva

    Hope it helps.

    Thanks,

    Reeva

  • Posted 1 November 2017, 5:45 pm EST

    I resolved the issue.

    Thank you a lot.

  • Posted 2 November 2017, 2:30 pm EST

    Hello,

    We are glad to know that your issue has been resolved.

    Thanks,

    Reeva

Need extra support?

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

Learn More

Forum Channels