Scroll Into View
Scroll into view enables the user to scroll to a specific row in the grid.
Getting Started
- Set the Grid's height through its
style
property. - Set the
rowHeight
prop to match the height of the row. - Pass the target row index to the
scrollIntoView
method.
The following example demonstrates the basic implementation of the Scroll Into View functionality of the Grid.
Example
View Source
Change Theme: