DHTMLX Docs & Samples Explorer

showDescTask(show,pattern)

  • show - {true|false} show or hide the description
  • pattern - {string, comma-separated list} p - percentCompleted, n - name, e - EST, d - duration, s-f - “start - finish” dates

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

    ganttChartControl.showDescTask(true,'p,n,e,d');
    ganttChartControl.create("htmlDiv1");