On gantt export, it is exporting all columns if i try:
gantt.exportToExcel({
name:exportFileName,
date_format: "mm/dd/YYYY"
});
However, if I try to add columns, it is exporting only the first columns (text / title)
gantt.exportToExcel({
name:exportFileName,
columns:[
{ id:"text", header:"Title", width:150 },
{ id:"start_date", header:"Start date", width:250, type:"date" },
{ id:"end_date", header:"End date", width:250, type:"date" },
{ id:"duration", header:"Duration", width:250 },
{ id:"change_in_due_date", header:"Delay", width:250 },
{ id:"progress", header:"Process", width:250 },
],
date_format: "mm/dd/YYYY"
});
This is one issue, and another issue is that one of my column value is exporting html text, and I would like to format it before exporting.
For example, it is exporting currently as <span class=''>0</span>
I would like to export only 0, form here.