APEX-AT-WORK no image

Getting access to your Flash Anygantt via Javascript

Von Tobias Arnhold 5.12.2014
In case you want to edit or react on actions inside your gantt during the runtime of your application. That's the way how to do it.

Get access to the gantt element with this Javascript command:
A description about the possible activities can be found here:

Here is an example how to get the current startDate of the clicked period:
flash = AnyGantt._charts.chart__0;
document.getElementById("P1_CUR_START_DATE").value = flash.getSelectedPeriodInfo().startDate;
Thanks to my colleague Richard in finding out how to do this.

Post Tags: