Gantt Dates and Alignment is changing automatically

Hi,

The Gantt Date is automatically changing to zero and the tasks in the grid on the right side are changing the alignments. I have attached the file herewith


while parsing the gantt data, the problem is occurring. I have checked it directly by passing it to gantt.parse and also by assigning to a variable before parsing, change in data is happening.

gantt.config.api_date = “%Y-%n-%d %H:%i”;
gantt.config.xml_date = “%Y,%m,%d”;
gantt.config.work_time = true;
gantt.config.correct_work_time = true;
gantt.config.date_grid = “%j-%M-%Y”;
gantt.config.scale_unit = “day”;
gantt.config.date_scale = “%D, %d”;
gantt.config.duration_unit = “day”;
gantt.config.step = 1;
gantt.config.scale_height = 40;
gantt.config.details_on_create = true;
gantt.config.highlight_critical_path = true;
gantt.config.show_progress = true;
gantt.config.skip_off_time = true;
gantt.setWorkTime({hours: [9, 18]});
gantt.config.autosize_min_width = 450;
gantt.config.grid_width = 400;
gantt.config.grid_resize = true;
gantt.config.order_branch = true;
gantt.config.sort = true;

have I missed any of the setting?

Hello,
sorry, I’m not sure I completely understood it from the screenshot.

What exactly do you mean by that? Can you point out some elements on the screenshot that looks incorrectly, so we could understand what exactly is wrong?

all the tasks on the right hand side are missing their alignments and some of the tasks duration is being set to zero.


on the right hand side the task are displayed in each cell, but are moving to their right


check this file once


check out this link

http://docs.dhtmlx.com/gantt/snippet/9a03b83f

I have parsed a sample data from the gantt that i am using.

As I view the gantt, all the tasks that are rendered are not aligned properly.