gantt.config.layout = {
css: "gantt_container",
rows: [
{
cols: [
{
width: 700,
min_width: 700,
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"}
]
},
]
};
let resource = {
_isResourceView: true, // 添加标识
gravity: 1,
id: "resources",
config: resourceConfig,
cols: [
{view: "resourceGrid", group: "grids", width: 700, scrollY: "resourceVScroll"},
{resizer: true, width: 1},
{view: "resourceTimeline", scrollX: "scrollHor", scrollY: "resourceVScroll"},
{view: "scrollbar", id: "resourceVScroll", group: "vertical"}
]
};
gantt.config.layout.rows.push(...[{resizer: true, width: 1}])
gantt.config.layout.rows.push(...[resource]);
I have found that such a configuration layout will cause the scroll bar below to overlap with {resizer: true, width: 1} when the number of grid fields increases, thus making the scroll bar invalid. Is there any way to solve this problem? Could you please make some modifications to my layout? Thank you

