BoldSignEasily embed eSignatures in your .NET applications. Free sandbox with native SDK available.
$("#GanttContainer").ejGantt({
//...
taskbarEditing: function (args) {
if (args.rowData.taskId == 5) {
args.cancel = true
}
}
}); |
<style>
.e-ganttchart .e-prevent-edit .e-gantt-childtaskbar {
cursor: auto !important
}
.e-ganttchart .e-prevent-edit .e-gripper {
content: none !important;
display: none;
}
.e-ganttchart .e-prevent-edit .e-progressbarhandler,
.e-ganttchart .e-prevent-edit .e-connectorpoint-hover {
display: none;
}
</style>
<script>
$("#GanttContainer").ejGantt({
//...
queryTaskbarInfo: function (args) {
if (args.data.taskId == 5) {
$(args.taskbar).find('.e-childContainer').addClass('e-prevent-edit');
}
},
});
</script> |