@dhx/gantt: “9.0.7” => working @dhx/gantt: “9.0.9” => not working
Hello,
I integrated gantt as part of an angular project. I use external_render to allow rendering angular components inside grid data cells and everything was working just fine until the upgrade to version 9.0.9 happend.
The problem is that after the switch labels for column headers no longer render. I did not change a single line of code so I began to wonder why that is. After debugging a bit I managed to notice that before (with the 9.0.7 version) on renderElement function was called only for gantt data cells wheras with 9.0.9 version renderElement function was triggered even for header cells as well as markers causing it to override default rendering behavior. Hence blank labels and no content for markers. All columns are affected by this regardless of whether they have onrender function defined or not.
Right now, there is no official Angular wrapper. There are plans to implement it in the future, but I cannot give you any ETA.
The grid headers don’t have the onrender function that is called after Gantt finished rendering the data. And after you add the elements, there is no ready method to detach the components. So, using the external_render doesn’t guarantee that it would work correctly.