value

Works in data-bound mode only. If a parameter is passed, the widget scrolls to the given dataItem. If not, the method return currently displayed dataItem.

Parameters

dataItem Object

The dataItem to set.

Returns

Object The currently displayed dataItem.

In this article