I would like to disable time section in some cases.
for milestone task I would like to disable only duration field (gantt_duration), because it should be always = 0
for readonly task I would like to disable full time section, (gantt_time_selects and gantt_duration) here is example for type=project, but it’s not clear how to do it: docs.dhtmlx.com/gantt/samples/04 … _look.html
Hello,
you’ll need to reset the lightbox (regenerate it’s html) in order to get this options applied.
This is usually done from onBeforeLightbox event, check the sample docs.dhtmlx.com/gantt/snippet/c12738ed