ReoGrid
ReoGrid copied to clipboard
ScrollToRange problem
I have a grid in which 2 top rows are frozen. If I click in the frozen area, and then I press the button that calls the Worksheet.ScrollToRange method to the area, which is located at the bottom and which is not visible, then it stands out, but the scrolline does not go to the cell.
This problem may has been resolved in the latest version (by #399). Please have a check and let me know if there still is. And an animation GIF or video will be greatly helpful to reproduce it.
Hi Jing,
I'm using v3.0.0 in WinForms, and I'm experiencing this problem.
The top 2 rows of my grid are headers, and are frozen.
I have a sequence of calls setting SelectionRange to the required row, and FocusPos to the first cell in the row. I then call ScrollToRange to ensure the required row is visible.
If I have previously clicked outside the frozen rows, then all works correctly.
But if I click in one of the top 2 rows (which are frozen), then the grid scrolls to the top. The calls to set SelectionRange and FocusPos are working correctly, but the call to ScrollToRange does not work. If I scroll with the mouse, then I find that the required row is correctly selected and the first cell focused.
If i click outside the frozen rows, then all works correctly again.
Thanks for your help
Kevin