Hello,
Does the stadard export service work with lazy loaded gantt?
Is the service still able to export the entire gantt?
Regards,
Silvia
Hello,
Does the stadard export service work with lazy loaded gantt?
Is the service still able to export the entire gantt?
Regards,
Silvia
Hello,
Does the stadard export service work with lazy loaded gantt?
Yes, export service works with Dynamic Loading (on demand):
Dynamic Loading (on demand) Gantt Docs ;
Gantt will show the tasks that are loaded into the Gantt. When you load a new portion of data, the appearance of Gantt will change.
Please check the example:
https://snippet.dhtmlx.com/g573hntk ;
Is the service still able to export the entire gantt?
Unfortunately, there is no built-in solution to show all data with export when only the portion of data is loaded in Gantt. But you can implement a custom solution. One of the options is to load all data by opening the parent tasks with gantt.open()
method and onLoadEnd
handler:
open Gantt Docs ;
onLoadEnd Gantt Docs ;
You can check when the all data loaded into the Gantt, by tracking the last invoke of the onLoadEnd
event.
Note, after you’ve opened all the parent tasks, you need to detach the onLoadEnd
event by detachEvent
method and close all the tasks to return the previous open
state.
detachEvent Gantt Docs ;
Please check the example of how it might be implemented:
https://snippet.dhtmlx.com/xj5w0l13