How do scroll the grid so that the selected row is at the bottom of the displayed list?

1 Answer 16 Views
Grid ScrollView
Andrei
Top achievements
Rank 2
Iron
Iron
Andrei asked on 21 Aug 2025, 09:18 AM
Hey Team!
I use a grid. I will describe a simplified example of my task. 
If you scroll up the grid and press button 20, scrollIntoView will scroll through the grid so that the row under index 20 will be at the top of the visible grid list. This behavior is expected. But if I scroll to the bottom of the grid and press button 20, I need the row under index 20 to be at the bottom of the displayed list. How to achieve this behavior?

https://stackblitz.com/edit/react-mcskf5cg?file=app%2Fapp.tsx

Thanks!

1 Answer, 1 is accepted

Sort by
0
Filip
Telerik team
answered on 25 Aug 2025, 07:19 AM

Hello, Andrei,

While currently the Grid does not expose a mechanism for aligning a row at the bottom of the Grid viewport, you achieve this by manually settings the scroll positions. I have prepared a runnable example which showcases one possible approach:

Please give this approach a try and let me know in case this is still not what you are looking for and I will gladly assist further in achieving the desired functionality.

    Regards,
    Filip
    Progress Telerik

    Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

    Tags
    Grid ScrollView
    Asked by
    Andrei
    Top achievements
    Rank 2
    Iron
    Iron
    Answers by
    Filip
    Telerik team
    Share this question
    or