Completed
Last Updated: 14 Feb 2020 14:44 by ADMIN
Otto Neff
Created on: 05 Oct 2015 12:11
Category: Spreadsheet
Type: Feature Request
14
Spreadsheet: Custom Context Menu on Cell
Define by Settings or via API Calls custom context Menu for any Cell,
like change current by Event BeforeContextMenu(ref ContextMenuElement)
5 comments
Rik
Posted on: 10 Feb 2020 10:33

Try:

        var cellContextMenu = spreadsheet.cellContextMenu();

        cellContextMenu.bind('open', function (e) {
            this.remove('[data-action="cut"]');
            this.remove('[data-action="copy"]');
            this.remove('[data-action="paste"]');
            this.remove('[data-action="merge"]');
        });

 

see: https://docs.telerik.com/kendo-ui/api/javascript/ui/menu/methods/remove

ADMIN
Petyo
Posted on: 24 Apr 2017 08:15
The feature is there, but not documented properly - you can grab the instance of the context menu through here and customize it:

http://docs.telerik.com/kendo-ui/api/javascript/ui/spreadsheet#methods-cellContextMenu
Matthew
Posted on: 22 Apr 2017 17:34
Any progress made toward this?
James
Posted on: 08 Nov 2016 05:23
Yes; this sounds useful! We need more spreadsheet events exposed!
Imported User
Posted on: 19 Oct 2015 16:33
It should not only exist for single cells but also for cell ranges.