开发者

deselect items in a list dashcode

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

Simon


This 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]);
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜