cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

GanttCharts scrolling not working

hutner
Participant
0 Kudos
387

Hello,

I have a problem with my two ganttcharts. I want to  the scrolling together.

But the vertical Scrollbar does not work correctly.

In my attachment you find a screenshot of my two ganttcharts.

When I move the scrollbar 1, scrollbar 2 also moves and the both tables move too. -> that's correct! -

When I move the scrollbar 2, scrollbar 1 doesn't move, but only the first table moves. -> that's not correct!

When I move the scrollbar 3, scrollbar 4 also moves and the both gantt charts move too. -> that's correct!

When I move the scrollbar 4, scrollbar 3 also moves and the both gantt charts move too. -> that's correct!

When I move the scrollbar 5, scrollbar 6 also moves but only the first table and first ganttchart move. -> that's not correct!

When I move the scrollbar 6, scrollbar 5 also moves but only the first table and first ganttchart move . -> that's not correct!

This what I tried:

oGanttChartContainer.setEnableTimeScrollSync(true);

$(".sapUiTableHSb").on('scroll', function() {
$(".sapUiTableHSb").scrollLeft($(this).scrollLeft());
});
 
/*$(".sapUiTableHSbExternal").on('scroll', function() {
$(".sapUiTableHSbExternal").scrollLeft($(this).scrollLeft());
});
 
$(".sapUiTableVSbExternal").on('scroll', function() {
$(".sapUiTableVSbExternal").scrollTop($(this).scrollTop());
});*/
 
$(".sapUiTableVSb").on('scroll', function() {
$(".sapUiTableVSb").scrollTop($(this).scrollTop());
});

 

 

 

Accepted Solutions (0)

Answers (0)