Hi,
In my lightbox sections, there is field of duration.
Is there any way I can default its date (select boxes) to today and duration for 7 day?
I went through the manual but no luck ;(
{name:“time”, height:22, map_to:“auto”, type:“duration”, default_value: ___ }
docs.dhtmlx.com/gantt/desktop__l … tions.html
Thank You.
Polina
#2
Hello,
The value of duration you see in lightbox = task duration. You could set required duration value in task data.
Hi. You can set a default duration (or any other property) from onTaskCreated event
docs.dhtmlx.com/gantt/snippet/0eee49cc
docs.dhtmlx.com/gantt/api__gantt … event.html
1 Like
Thank you. This references are truly helpful.