Check documentation for the latest version 6.0 of dhtmlxSuite setItemContextMenu DHTMLX Docs

setItemContextMenu

sets context menu for individual nodes

void setItemContextMenu(string|number id,object menu);

Parameters

idstring|numberthe node's id
menuobjectdhtmlXMenuObject instance of the context menu

Available only in PRO Edition

Back to top