selected some items in the listview dynamically:
var listview = document.getElementById("basicListView").winControl; //select the items listview.selection.set([2,3,4]);