DHTMLX Docs & Samples Explorer

getName()

returns name of project

    var project = ganttChart.getProjectById(2);
    var name = project.getName();