hi there,
thanks in advance for helping me
i’m trying to setup grid + gridtimeline + resourcegrid + resourcetimeline and i neew:
- 2 horizontal scroll bars for taskgrid and resourcegrid
- 2 vertical scroll bar for upper and bottom row
- 1 horizontal scroll bar on the bottom for both timelines (task and resources)
I got everything on the example i attach but when i resize the upper grid of task the bottom grid of resources won’t resize to the same size … can you help me with this?
gantt.config.layout = {
css: “gantt_container”,
rows: [
{
cols: [
{
width:800,
minWidth: 400,
maxWidth: 1000,
rows:[
{view: “grid”, scrollX: “gridScrollHor”, scrollY: “scrollVerticalArriba”, scrollable: true},
// {view: “scrollbar”, id: “gridScrollHor”, group: “horizontal_izq”}
{view: “scrollbar”, id: “gridScrollHor”, group:“horizontal”}
]
},
{ resizer: true, width: 1 },
{
rows:[
{view: “timeline”, scrollX: “resourceTimelineScrollHor”, scrollY: “scrollVerticalArriba” }
,// { view: “scrollbar”, id: “timelineScrollHor”, group: “horizontal_der” }
]
},
{ view: “scrollbar”, id: “scrollVerticalArriba”, group:“vertical”}
],
gravity: 2
},
{ resizer: true, width: 10 },
{
config: resourceConfig,
cols: [
{
width:800,
minWidth: 400,
maxWidth: 1000,
rows:[
{ view: “resourceGrid”, scrollX: “resourceScrollHor”, scrollY: “resourceScrollVer” },
{view: “scrollbar”, id: “resourceScrollHor”, group:“horizontal”}
]
},
{ resizer: true, width: 1 },
{
rows:[
{ view: “resourceTimeline”, scrollX: “resourceTimelineScrollHor”, scrollY: “resourceScrollVer” },
{view: “scrollbar”, id: “resourceTimelineScrollHor”}
]
},
{ view: “scrollbar”, id: “resourceScrollVer”, group:“vertical”}
],
gravity: 1
}
]
};