API REFERENCE
scrollToTop
Scrolls the Grid to the top.
What does this API do?
Scrolls the Grid to the top.
Exact input and result types
scrollToTop(): Promise<void>| Arguments | Required | Type |
|---|
The return type is Promise<void>.
Usage flow
After registering and initializing the Grid element, call grid.scrollToTop(…). Read the return value with await. For methods returning a boolean or report, inspect the result before continuing.
Feature explanations and examples
- Large data sets
Virtualization renders only row and column DOM needed near the viewport. It is separate from row models that fetch only part of the data from a server.