Incorrect Rendering

My Gantt chart is rendering incorrectly. The task bars are 20px to the left of where they should be as shown below, and I can not seem to figure out why. This is also the case when dragging and dropping or resizing. The date positions on the chart do not correspond with the positionging of the gantt bars. The absolute positioning of the elements is just off, always to the left by 20px.


Hi,

What browser are use you?

Greetings

Hi,

Sorry for my previous short answer, but I believe is very important this data.

In the file ‘dhtmlxgantt.js’, you have these function:

GanttProject.prototype.createProjectItem

There, you can see different parameters that are apply to ‘div’ that represent progress bar of project. A very very quick solution is modify the parameter ‘this.posX’ in this code line:

projectItem.style.cssText = “;z-index:1;position: absolute;left:” + this.posX + “px;top:” + this.posY + “px;”;

However, I think that this is not good solution, but maybe it’s works for you.

Greetings