DHTMLX Docs & Samples Explorer

showNewProject(show)

  • show - {true|false} show or hide new project item

show/hide new project bar at start-up; it is useful if you have no project at all, and user needs some start point where the menu is attached

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