I have two hierarchical grids on a form. The window is split in to two vertical regions. Left side has one grid and Right has the other.
There is a vertical scroll bar since all rows expanded on both grids. I want both scroll bars to move in sync so I subscribed to "AfterRowRegionScroll" event on both grids. Below is the code to set Scroll position
this.uxGridLeft.ActiveRowScrollRegion.ScrollPosition = e.RowScrollRegion.ScrollPosition;
The above line is in "AfterRowRegionScroll" event handler of Right side grid.
Now, the problem is that the two scroll bars are not in sync all the time. Could you tell me if this is the right way to do. I'm also doing the horizontal scroll move the same way using "AfterColRegionScroll" and this seems to be fine.
Thank you
There's a discussion about this here:
How can I synchronize the scroll position of grids after a resize? - Infragistics Community