Columns not rendering in grid after scroll


#1

Hi,
We use Gantt without chart only with grid. And when we have more columns than fits on screen horizontal scroll appears. But after user scrolls to right all cell are empty.
More details on screen.


#2

Hello Wolland,
The issue can be reproduced if you turn off the gantt.config.show_chart parameter and don’t have a custom layout configuration. It occurs because, by default, the grid doesn’t have the scrollable: true parameter in the layout configuration:
https://docs.dhtmlx.com/gantt/desktop__layout_config.html#defaultlayout
If you add it, the grid will be scrollable as expected:
http://snippet.dhtmlx.com/5/44413a27f
I added it as a bug to our internal tracker. The dev team will fix it in the future, but I cannot give you any ETA.

However, if you use a custom layout configuration, probably, it is not a bug as you need to manually add the scrollable: true parameter.
You can see how it works in the following snippets:
http://snippet.dhtmlx.com/5/7200d2912
http://snippet.dhtmlx.com/5/88a7ea2bb