Skip to Main Content

Demo Project

Task name
Start time
Duration
May, 2025
23 Fri
24 Sat
25 Sun
26 Mon
27 Tue

Plug-in Description

  • Based on DHTMLX Gantt library v7.0.11 (docs)
  • This is the GPLv2 version of the library with a reduced set of functions - Compare the free and the Pro version
  • If you need all functionality you can buy the Pro version and copy the Pro files into the plugin
  • "Export to PDF" functionality with the help of DHTMLX internet API (watermark without PRO version) - more infos here...
  • Minimum supported APEX version for the plug-in is 5.1
  • Data can be delivered as XML (string) or JSON (string or object)
  • The plugin delivers sample data, if no query is defined
  • There are five events available to react on chart actions: Task Create, Task Double Click, Task Drag (change of progress, start date, duration), Link Create, Link Double Click
  • In the region attributes you can configure some aspects of the Gantt chart - for an example the height, the skin, the UI language (30 different delivered by the vendor); There is also the possibility to place custom before and after initialization JavaScript code
  • Everything else can be done with the extensive JavaScript API available from DHTMLX - please refer to the docs

Links:

Happy project planning!

Ottmar

Additional Information

  • The whole idea of the plug-in ist to integrate the Gantt JavaScript library and to expose relevant events to be able to use standard APEX modal dialogs to edit the tasks and links
  • The downside of this is, that you need to work with the event data to open your modal dialogs and that you need to prepare your URLs somewhere
  • You can prepare the edit URLs beforehand in the region SQL
  • When you change data by interacting with the graph you need to prepare the URL with a dynamic action
  • It is highly recommendet to install this demo app and inspect the implementation details
  • "2017-04-04" is delivered as holiday in the SQL query - see region source below