Our state of the art Gantt chart


Post by casman.manzano »

how do i call data on init, i see in the examples that the data is being fetched from the config but i'd like to call it on one of the lifecycles (pls refer to the img below)...... thanks so much

Attachments
oninit.JPG
oninit.JPG (235.98 KiB) Viewed 442 times

Post by saki »

You would set autoLoad:false (or remove it) in the project definition on the right side. They you would need to call this.gantt.project.load() when you want the data to load (on the left side).


Post by casman.manzano »

Hi Saki

so i've tried removing autoLoad, tried to set it as false and took a stab at loading the data through .load() but to no avail.

Is there an example in Angular I can view where this is being done or could you point me to what i'm doing wrong? i've attached a thumbnail in this email. thanks a lot.

Casman

Attachments
loading data bryntum.PNG
loading data bryntum.PNG (260.52 KiB) Viewed 404 times

Post by mats »


Post Reply