Vertical Scroll can't be show


#1

Hi, here my code for showing vertical and horizontal scrollbar, dynamically(based on task’s).
Example:
gantt.config.layout = {
css: “gantt_container”,
cols: [
{
width:400,
min_width: 300,
rows:[
{view: “grid”, scrollX: “gridScroll”, scrollable: true, scrollY: “scrollVer”},
{view: “scrollbar”, id: “gridScroll”, group:“horizontal”}
]
},
{resizer: true, width: 1},
{
rows:[
{view: “timeline”, scrollX: “scrollHor”, scrollY: “scrollVer”},
{view: “scrollbar”, id: “scrollHor”, group:“horizontal”}
]
},
{view: “scrollbar”, id: “scrollVer”}
]
};

This is example result link:
https://docs.dhtmlx.com/gantt/samples/07_grid/10_scrollable_grid.html

Note:
only showing horizontal scroll but vertical can’t be shown.


#2

Hi @Prince_John!

I can see no obvious issues with your code. I’ve tried to reproduce the problem locally, but everything seemed working ok. You use the same code as in the sample. This is a video, where I tried to use it.
http://recordit.co/sUD20AUv7P

I think your problem is not in this part of your code. Can you please share me a complete example?