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

0 Answers 5 Views
Grid ScrollView
Andrei
Top achievements
Rank 1
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!

No answers yet. Maybe you can help?

Tags
Grid ScrollView
Asked by
Andrei
Top achievements
Rank 1
Iron
Iron
Share this question
or