MCPcopy Create free account
hub / github.com/bvaughn/react-virtualized / scrollToRow

Method scrollToRow

lib/components/Table/types.ts:596–596  ·  view source on GitHub ↗

* Ensure the row at the specified index is visible (scrolling if necessary). * This method can be used to safely scroll back to a row that a user has scrolled away from even if it was previously scrolled to. * * The `align` parameter (default "auto") controls the alignment of the row: *

(params: { align?: Alignment; index: number })

Source from the content-addressed store, hash-verified

594 * If the `Table` has a `scrollElement`, the scroll element (e.g. the window) is scrolled instead.
595 */
596 scrollToRow(params: { align?: Alignment; index: number }): void;
597}
598
599/**

Callers 1

Table.test.tsxFile · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected