I have implemented the virtual scrolling on a KendoReact grid based on the example given in the documentation with a remote data source.
This appears to work well. However, I have a scenario where I want to scroll the grid to a specific location. I am able to display the correct page by setting the Skip value on the state of the Grid, however. The scrollbar position is not correctly recalculated when I set the skip value. Instead, the scrollbar remains at position 0.
How can I correctly set the scrollbar location?
Thanks
Thomas
Hello sir,
I face the same issue. Please try to help me fix this issue.
Thanks,
Kishan Bhagat
Hi Krishan,
Here is an example demonstrating how to use scrollIntoView after the component is rendered:
With hooks you can use "React.useEffect" and is some cases you also might need to add setTimeout, if the data is loaded remotely:
We also have a logged issue for using scrollIntoView for the last items:
Nevertheless, if further assistance is needed and your scenario differs, please feel free to get back to us.