var current_year = new Date().getFullYear();
gantt.config.start_date = new Date(current_year - 1, 12, 01);
gantt.config.end_date = new Date(current_year, 12, 01);
gantt.init(“gantt_container”);[/code]
With this config my duration show as “Months” but I need to keep the duration as “Days”, is that possible?
Get a guaranteed answer from DHTMLX technical support team
under the most suitable support plan