$("#GanttContainer").ejGantt({
"dataSource": [
{
//..
{
"id": 4183,
//..
"predecessors": "4184FS+10d,4185FS"
},
{
"id": 4182,
//..
"predecessors": "4183FS+4d"
},
//..
}
],
//..
}); |
$("#GanttContainer").ejGantt({
//..
"actionBegin": "actionBegin"
});
<script>
function actionBegin(args) {
if (args.requestType == "validateLinkedTask") {
args.validateMode.preserveLinkWithEditing = false;
}
}
</script> |
Hi,
Thanks for Your reply. The answer is helpful, but I need one more thing.
Is it possible to compute the offset when I load Gantt chart for the first time?