Sorry for the inconveniences caused.
We have analyzed your query. Currently, we don’t have support to disabled columns also disable edit support in dialog popup. Hence, we have logged improvement task for this and it will be included in Volume 4, 2019 main release, it will be expected to roll out on December, 2019. You can track the status of this feature by using below feedback report link.
As of now, you can use actionComplete event to disable the column field from editing. Else you can hide the column field in dialog popup by editDialogFields.fields property. Please find the code snippet
var ganttChart = new ej.gantt.Gantt({
//.....
editDialogFields: [
{ type: 'General', headerText: 'General',fields:['TaskID', 'TaskName', 'StartDate', 'Progress']}, //.... Duration column field hidden
{ type: 'Dependency' }
],
actionComplete: function(args) {
if(args.requestType == "openEditDialog") {
var tasknameField = (document.getElementById("EditingTaskName")).ej2_instances[0];
tasknameField.enabled = false; //.... Disabled TaskName field from editing
}
}
|
We have prepared the sample with your requirements. Please find the sample from below link.
Thanks,
Pooja Priya K.