ParamQuery grid support forum
General Category => Help for ParamQuery Pro => Topic started by: Akihiro Inoue on March 19, 2018, 11:19:52 am
-
Hi,support.
When vertical scrollbar of Master grid is moved,
the vertical scroll bar of child grid is moving.
this behavior is correct.
But the same is not working for vice-versa.
That is when vertical scrollbar of Child grid is moved,
the vertical scroll bar of Master grid is not moving.
Need to make it work for Child grid vertical scroll bar also.
So when vertical scrollbar of Child grid is moved,
the scrolling of Master grid should also move.
https://paramquery.com/pro/demos40/scroll
Please provide me suggestion on this.
-
It would be done in similar way.
listen to scroll event of 2nd grid scrollbar and scroll 1st grid by synchronizing its cur_pos.
To prevent infinite loop, check cur_pos of 1st grid, scroll it only if cur_pos is different from the ui.cur_pos in scroll event.
-
Thank you team.
We were able to solve a issue.