|
var ganttControl = $gantt_container.data("GanttControl"); ganttControl.Model.NewDependencyValidator = function (from, to, addType, type) { // from - from Acticity // to - to Activity // addType - Enum "NewDependencyAddScenarioType" to identify how the dependency is created // type - dependency type if (canCreateDependency == true) return true; // To draw the dependency line else return false; // To prevent the dependency line } |
FlexyGantt - This is illustrated in FlexyGanttWithDepLines in our install samples.
|
var shiftTrackerGlobal = RadiantQ.FlexyGantt.ShiftTrackerGlobal; shiftTrackerGlobal.CreateDependencyEvent.subscribe(function (sender, args) { // your code }); |
� RadiantQ 2022. All Rights Reserved.