addTaskLayer

Hello,

Why would I see a valid element / div logged in my console when returning from addTaskLayer but see nothing shown in the gantt UI?

Console:

UI shows nothing

Hi,

Possibly you can’t see this element because of the ‘top:-3px’. But it also depends on height of the element.

Seems you use this sample to add baselines in your app and in this way top is calculated correctly.
docs.dhtmlx.com/gantt/samples/0 … lines.html

So, we need to have an opportunity to replicate the problem to understand the cause of it. It would be nice if you create a demo here docs.dhtmlx.com/gantt/snippet/