DHTMLX Docs & Samples Explorer

saveData(name)

  • name - you can give some name to your data, it is passed to server as “filename” field, xml content is passed in “data” field

saves XML data to server using URL specified in setSavePath and encoding “application/x-www-form-urlencoded”

    ganttChartControl.setSavePath("cgi-bin/saveXML.pl");
    ganttChartControl.saveData("MyNewChart");