DHTMLX Docs & Samples Explorer

insertProject(id,name,startDate)

  • id - {int|string} id of new project
  • name - {string} name of new project
  • startDate - {Javascript Date} startDate of new project

inserts new project with specified id, name, start date and returns it

    ganttChart.insertProject(23, "My project", new Date(2010,0,29));