scrollToIndex(index, [new_order], [position])

Class: Table.

Description:

Scrolls the vertical scroll bar to make sure the row at specified index is visible (only if the row is not visible). If position is specified, the row will be placed at the specified position between the top and bottom of the Table component.

Parameters:

Name Type Default Description

index

number

0

Index of a table row to make visible.

[new_order]

boolean

false

Specifies if the index argument is based on a new sorted order (true) or not (false).

[position]

number

A decimal number between 0 and 1 indicating vertical position in percentages (0% - 100% of the height of the component). If omitted, the row will only become visible, but not at a specific location.