|
<ej-gantt id="GanttControl"
(actionBegin)="actionBegin($event)"
</ej-gantt> |
|
actionBegin(args) {
if (args.requestType == 'openEditDialog') {
if (args.data.item.taskid == 4) {
args.cancel = true;
}
}
} |
|
actionBegin: function (args) {
if (args.requestType == 'validateLinkedTask') {
if (args.data.Predecessor) {
args.cancel = true;
}
}
|
|
<ej-gantt id="GanttControl"
(actionBegin)="actionBegin($event)"
</ej-gantt>
|