returns ID of the previous item (item with the index == current - 1)
var prev_id = myDataView.previous(id);