We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Gird desktop row header context menu

i have tried to hide few contextmenu and it works, but the “insert” and “delete” context menu still show when i click the row header.

i do not see any place to hide those two menu item, i have the following code but they are not for the context menu in the row header.
ExcelContextMenu.MenuItemAvailable_DeleteRow = False
ExcelContextMenu.MenuItemAvailable_InsertRow = False

please help.

@LEWA01434,

Well, you may try the following lines of code to hide “Insert” and “Delete” menu item of the context menu which is shown when you right-click on header row/col in GridDesktop for your needs:
e.g
Sample code:

gridDesktop1.ContextMenuManager.MenuItemAvailable_Insert = False
gridDesktop1.ContextMenuManager.MenuItemAvailable_Delete = False 

Hope, this helps a bit.