selectRange

open fun selectRange(position: <Error class: unknown class>, nItems: <Error class: unknown class>, unselectRest: Boolean): Boolean

Requests to select a range of items in the model.

Return

true if this action was supported and no fallback should be tried. This does not mean the range was selected.

Parameters

position

the first item to select

nItems

the number of items to select

unselectRest

whether previously selected items should be unselected