Hi
Otomar,
Thanks
for your update.
You
can able to cancel the editing for particular column by handling the beginEdit
event like below code snippet , thus making it as a read only column.
Code
snippet
$("#gantt").ejGantt({
//...
//...
taskIdMapping: "taskID",
beginEdit: "beginEdit",
//...
});
function beginEdit(args) {
var editedData = args.data;
var column = this.getColumns();
if (column[args.columnIndex].mappingName
== " taskID ")
{
args.cancel = true;
}
}
|
For
your reference here with we have attached the sample for cancel the editing in
TaskId column with updated source and it can be downloaded from the following
location.
Sample
location: http://www.syncfusion.com/downloads/support/directtrac/general/GanttControlSample304747002.zip
Please let us know if need more information on this.
Regards,
Bharath.