DHTMLX Docs & Samples Explorer

showContextMenu(show)

  • show - {true|false} show or hide the menu

enables or disables context menu in tree, which can be used for basic task manipulations

    ganttChartControl.showContextMenu(true);
    ganttChartControl.create("htmlDiv1");