so, i want to allow user to choose their task’s status: “not started yet” if the task still didn’t have any progress, i give it condition item.progress <0.00009 so the progress slider still can be drag around and return “on going” status, but the problem is even after i drag it around the option on the section lightbox didn’t change into “on going” status and still show “not started yet” status. So i want to dissabled “not started yet” status if only the progress is already going up to > 0, or is there any solution that more reliable than this?
and also i want to provide “postponed” status, this option can be selected if only the progress >0 & <1, and obviously i’m struggling because it keeps showing “on going” status even user already choose “postponed” status, and the task should be grayed and the progress slider will be dissabled until user change the status into “on going” again. Help me…
Also, it is better to update the values in the onTaskDrag event handler than in the gantt.config.columns property, because in that case, you update the values only when you drag or resize the task: https://docs.dhtmlx.com/gantt/api__gantt_ontaskdrag_event.html