i'm currently struggling how to deselect a item in list, when pressing the back button. So ho开发者_JAVA百科w can set the selection state when returning to the previous view.
Thanks in advance. Cheers SimonThis will select the first item in the list. As lists allow multiple selections you need to pass an array. I am not sure how you deselect the list entirely.
document.getElementById("list").object.setSelectionIndexes([0]);
精彩评论