Hi - I am trying to modify the Context Menu in the GridWeb.
I understand how to remove some of the items (using Aspose.Grid.Web.Designer), but am left with the Copy, Cut, Paste, Find and Replace options. Is it possible to remove them using the designer? I can remove them by blanking out the text in the lang_en.js file, but the hozizontal bars still remain if all the items in a section are removed.
For example, if I remove the Copy, Cut and Paste options, the Context menu will display a horizontal bar before any of the remaining items appear. Is it possible to remove this horizontal bar?
I am also wondering if it is possible to change the style of this menu, such as changing the background colour or the fonts of the items. Thanks,
it has been a long while since this question was posted. I also want to know how to modify the context menu of gridweb. Is there any way to add new costum entries to the context menu?
I am afraid, in newer versions of Aspose.Cells.GridWeb control, adding or removing context menu items is not supported (although we can add/remove custom command buttons). We did revamp the Aspose.Cells.GridWeb control in recent times, so the feature got missed I think. I have logged a new ticket with an id “CELLSNET-44515” for your requested feature. We will look into it soon.
Once we have an update on it, we will let you know here.
This is to inform you that we have fixed your issue CELLSNET-44515 now. We will soon provide the fix after performing QA and including other enhancements and fixes.