Is there a way to disable the dragging of a task bar on a per-task basis? The idea is to have a checkbox on the lightbox that allows user to lock the task if they want. I have the checkmark added and a property being read in. I see there is a ‘gantt.config.drag_move = false’ but if I do something like:
gantt.attachEvent(“onTaskDrag”, function(id, mode, task, original, e){
if(mode == modes.move){
if (task.taskedlocked === true){
gantt.config.drag_move = false;
}
});
it will lock all tasks which is not what I’m looking for. I was also looking at the 04_limit_project.html but it doesn’t seem to be quite what I’m looking for. Am I overlooking something?