DHTMLX Docs & Samples Explorer

showDescProject(show,pattern)

  • show - {true|false} show or hide the description
  • pattern - {string, comma-separated list} p - percentCompleted, n - name, s - start date, d - duration

enables or disables inline project description (displayed right after the project bar), and configures the shown values pattern

    ganttChartControl.showDescProject(true,'n,s,d,p'); 
    ganttChartControl.create("htmlDiv1");