RadiantQ jQuery Gantt Package
How to notify when dependency connection is failed?
Previous Topic  Next Topic 


Notification of dependency failer


User can use "DependencyFailedNotifierCallBack" function to notify when the dependency connection is failed.


Here is the code example:


$('#gantt_container').GanttControl({

    DependencyFailedNotifierCallBack: function (from, to) {

        // This function noitifies once the dependency connection gets failed(also due to Circular Dependency).

        // Here Circular Dependency attempted from "Task 1" to "Task 2".

        if (window["console"] && console["error"])

            console.error("Circular Dependency attempt from : " + from.ActivityName_M() + " to " + to.ActivityName_M());

    }


});








� RadiantQ 2022. All Rights Reserved.