Search code examples
javascriptjqueryscheduled-tasksdhtmlxgantt-chart

Auto-scheduling not working in gantt chart dhtmlx


Is there are any possibilities to add auto-scheduling in gantt chart standard edition from this link?

Because I am working on standard edition when I am including dhtmlxgantt_auto_scheduling.js it shows me error Gantt is not defined in dhtmlxgantt_auto_scheduling.js.

I am stuck at auto scheduling the link tasks.


Solution

  • In short: Auto scheduling extension is not included into GPL version of the gantt, so the reliable approaches for getting this functionality are to either implement auto scheduling manually or to get a package that includes that extension.

    As for the extensions and packages in general, there are four bundles of dhtmlxGantt:

    1. GPL (Standard Edition)
    2. Commercial
    3. Enterprise
    4. Evaluation

    Extensions are generally not cross-compatible between packages. On practice, it means that

    • extensions from an Evaluation and Enterprise packages (3,4) usually won't work with dhtmlx gantt core from GPL or Commercial versions (1,2).
    • extensions from a Commercial or a GPL edition may work with Enterprise/Evaluation gantt core, but the correct work is not guaranteed.

    GPL package does not contain extension marked as 'Available only in PRO Edition' https://docs.dhtmlx.com/gantt/desktop__auto_scheduling.html So you can either obtain a package that includes all needed features or implement needed functionality yourself.