Hello,
If I understood your question correctly, you want to display the task with zero progress without any filling. If it so, you need to remove padding-left CSS rule from .gantt_task_progress class.
Also, if you want to display a zero percentage progress in the task bar, you can set overflow: visible !important; CSS rule to the .gantt_task_progress class.
Please check the following snippet: https://snippet.dhtmlx.com/tk66b6pd
I my case, please refer the screen shot. In screenshot “New 1.1” task is 20% completed. but in taskbar its fully
filled(not only 20%). this is my problem.
Hello,
Sorry for misunderstanding.
Gantt only accepts progress values between 0 and 1. It means you need to convert your progress data in Gantt. To get progress as a percentage in the task bar, its value should be multiplied by 100.
Please check the following snippet: https://snippet.dhtmlx.com/w0xvs2kq
Note, that parsed progress data is in the range from 0 to 1.
HI,
Thanks for the Quick reply. But in my case change progress to 0-1 value impact on many arears in Gantt. Is there a way to bind different property to Task bar,
But when you will save the progress to the database, the value will need to be changed again.
Please check the example with onParse event when the tasks are parsed from the object: https://snippet.dhtmlx.com/hrhixr74
Get a guaranteed answer from DHTMLX technical support team
under the most suitable support plan