Our state of the art Gantt chart


Post by bhavisure »

Hi,
I our project have Gantt and scheduler pro as partners .
On exporting to excel we are facing the following error

exportexcel.PNG
exportexcel.PNG (18.09 KiB) Viewed 199 times

Have attached our code below

{
                        type: "button",
                        text: "Export as Excel",
                        ref: "excelExportBtn",
                        icon: "b-fa-file-export",
                        onClick: () => {
                          scheduler.features.excelExporter.export("scheduler");
                          const filename =
                            gantt.project.taskStore.first &&
                            gantt.project.taskStore.first.name;
                          gantt.features.excelExporter.export({
                            filename,
                          });
                        },
                      },

what can be done ?


Post by alex.l »

Could you please attach a runnable test case? I tried with our examples and it worked fine. Btw, Chrome blocked second file downloading, it's default browser behaviour. But all works well and I don't see errors.

All the best,
Alex


Post Reply