How can I disable/enable/remove a context menu item?


There seem to be a confusion on the relationship between the menu and context menu. It is hard to locate the right API for the context menu.

I am trying to remove/enable or disable a menu item from a context menu, can you point me to the right doco please?



If you are using dhtmlxMenu as context menu you can use existing API to manipulate items.
.removeItem(itemId);;   // have all items loaded in initial XML and just hide|show necessary ones is more simple approach; … 5755008000