scrollTo

open fun scrollTo(pos: <Error class: unknown class>, column: ColumnViewColumn? = null, flags: ListScrollFlags, scroll: ScrollInfo? = null)

Scroll to the row at the given position - or cell if a column is given - and performs the actions specified in @flags.

This function works no matter if the listview is shown or focused. If it isn't, then the changes will take effect once that happens.

Since

4.12

Parameters

pos

position of the item. Must be less than the number of items in the view.

column

The column to scroll to or null to not scroll columns.

flags

actions to perform

scroll

details of how to perform the scroll operation or null to scroll into view