Interface VirtualGridProxy
interface VirtualGridProxy { scrollTo(rowOffset: number,
columnOffset: number): void; scrollToItem(rowIndex: number,
columnIndex: number): void; } Methods
scrollTo
- scrollTo(rowOffset, columnOffset): void
Parameters
- rowOffset: number
- columnOffset: number
Returns void
scrollToItem
- scrollToItem(rowIndex, columnIndex): void
Parameters
- rowIndex: number
- columnIndex: number
Returns void
Custom ref handle returned by VirtualGrid that exposes imperative methods
Use
React.useRef<VirtualGridProxy>(null)
to create a ref.