Hello,
I’ve recently updated from 9.0.6 to 9.1.1, and in testing, the excel export now places all of the tasks in the first column
Did anything change that isnt mentioned in the release notes?
Here is my example data and config:
data
[
{
“id”: “1002”,
“start_date”: “2025-01-01”,
“text”: “1235456”,
“duration”: 1,
“parent”: null,
“color”: “#9A42BE”,
“isDeelrenovatie”: false,
“progress”: 0,
“type”: “project”,
“end_date”: “2025-02-01”
},
{
“id”: “M_1002”,
“start_date”: “2024-07-01”,
“text”: “Verhuisbeweging”,
“duration”: 0,
“parent”: “1002”,
“color”: “#001328”,
“isDeelrenovatie”: false,
“progress”: 0,
“type”: “milestone”,
“rollup”: true,
“milestoneTonenOpParent”: true,
“milestone_end_date”: “2024-12-31T23:00:00.000Z”
},
{
“id”: “T_1002”,
“start_date”: “2025-01-01”,
“text”: “1235456”,
“duration”: 1,
“parent”: “1002”,
“color”: “#9A42BE”,
“isDeelrenovatie”: false,
“progress”: 0,
“milestoneId”: “M_1002”,
“end_date”: “2025-02-01”
}
]
config
const exportGantt = Gantt.getGanttInstance({
container: ‘ganttExport’,
plugins: {
export_api: true,
},
config: {
readonly: true,
duration_unit: ‘month’,
duration_step: 1,
xml_date: ‘%Y-%m-%d’,
server_utc: true,
keep_grid_width: false,
grid_resize: true,
round_dnd_dates: true,
},
data: {
tasks: data,
links: [],
},
});exportGantt.ext.zoom.init(zoomConfig);
exportGantt.ext.zoom.setLevel(‘month’);exportGantt.templates.task_text = function (start, end, task) {
return ‘’;
};
any help is greatly appreciated