$p.events.on_gantt_load
Overview¶
This explains how to specify a method to be executed when the "Gantt Chart" is loaded or when the content to be displayed is changed by a filter, etc.
Limitations¶
- Select "All" for "Output to", except where this would have side effects such as the process running at unintended times.
-
If you create multiple scripts and write this function in each of them, the scripts are overwritten, so only the latest one works. For a workaround, refer to the following FAQ.
Syntax¶
When setting up a script, be sure to check "Gantt Chart" for "Output to."
JavaScript¶
Usage Examples¶
If you set the following sample code to Pleasanter script, a message will be displayed at the bottom of the screen when the Gantt chart screen is loaded.