New to KendoReact? Start a free 30-day trial
Reset Scroll Position When Changing Pages in TreeList
Updated on Dec 22, 2025
Environment
| Product Version | 13.1.0 |
| Product | Progress® KendoReact TreeList |
Description
When navigating between pages in the TreeList, the scroll position is not automatically reset. How can I reset the scroll position to the top when the page changes?
Solution
Use the onPageChange event to detect page changes and manually reset the scroll position of the TreeList container. Access the TreeList's scrollable container using a ref and set its scrollTop property to 0.
Change Theme
Theme
Loading ...