setCursor

sets the position of the cursor

void setCursor(id cursor);
cursoridthe cursor position

Example

var data = new webix.DataCollection({ 
  ...  // collection config
});
 
$$('list').attachEvent("onAfterSelect", function (id) {
  data.setCursor(id);
});

Related samples

Details

The cursor position is the ID of an item that the cursor is set on, not the item index.

See also
Back to top