ScrollToRowOptions
Since v1.23.0
Options for the PublicGrid.scrollToRow method.
Example
Section titled “Example”grid.scrollToRow(42, { align: 'center', behavior: 'smooth' });Properties
Section titled “Properties”| Property | Type | Description |
|---|---|---|
align? | center | start | end | nearest | Where to position the row in the viewport. |
behavior? | smooth | instant | Scroll behavior. |
Property Details
Section titled “Property Details”Where to position the row in the viewport.
'start'— top of the viewport'center'— vertically centered'end'— bottom of the viewport'nearest'— scroll only if the row is outside the viewport (default)
behavior
Section titled “behavior”Scroll behavior.
'instant'— jump immediately (default)'smooth'— animate the scroll