Is there is a way to have the start of a task visually coinciding with the left side of the cell when it starts at the begenning of the working hours of that day ?
In this capture, this task is starting at 8am, the begenning of the day. And visually is far later. I figured out how to hide not-working time when a cell represents an hour, and I would like to do the same when a cell is for a day.
Hello Jean,
It is no possible to tear the cell.
But you can show a task at the beginning of the cell by adding a subscale with “hour” unit and hiding the scale header (if you need that). In that case, non-working hours will be hidden, and the day scale will start from the working time. And to make it more convenient, you can change the minimal column width.
Here is an example: http://snippet.dhtmlx.com/100673055
I’m already using the smart rendering.
By setting config.static_background to true, I’m losing the interrest of adding another time scale, as there is no possible way to check if the cell should be disabled or not (which would have been the point of adding an hidden day scale on my view) as I cannot use gantt.templates.task_cell_class.
They are different calendar for worktimes depending of the tasks.
I know, I’m asking a lot
Looks like I won’t be able to solve that one to be honnest.
But it seems, that your case requires more customization (as you share the details). Maybe, it is easier to use a custom scale so that day will always start at 8:00: http://snippet.dhtmlx.com/1885e334e
Get a guaranteed answer from DHTMLX technical support team
under the most suitable support plan