Hello to all my friends
I have a problem (Really ? )
I’m using dhtmlx gantt and i want to do a 15min duration’s step
There is my code :
gantt.config.scale_unit = “hour”;
gantt.config.step = 1;
gantt.config.date_scale = “%H : 00”;
gantt.config.min_column_width = 33;
gantt.config.duration_unit = “minute”;
gantt.config.duration_step = 15;
gantt.config.scale_height = 70;
With this one, i’m normally able to move( resize and drag) my task every for 15 min.
But the problem is this one :
I have a task with the duration 1hour.
when i’m moving this task by resizing it on the left, newDuration = 15min
When i’m trying to give the duration 30min, it don’t work
when i’m trying to give the duration 45min, it don’t work,
when i’m trying to give the duration 1h, it work
how can i solve it ?