Setting a listView item as selected
-
Freitag, 17. Februar 2012 04:33
Hi Im trying to work out how to set a listview item as selected from within JavaScript, nothing i try seems to work any ideas???
Thanks
Jason
Alle Antworten
-
Freitag, 17. Februar 2012 14:20Moderator
Hi Jason,
The ListView has a selection method:
http://msdn.microsoft.com/en-us/library/windows/apps/br211852.aspx
You should use that to set the selected object.
-Jeff
Jeff Sanders (MSFT)
- Als Antwort vorgeschlagen Jeff SandersMicrosoft Employee, Moderator Freitag, 17. Februar 2012 14:20
- Als Antwort markiert Bob_BaoMVP, Moderator Mittwoch, 7. März 2012 04:05
-
Dienstag, 13. März 2012 17:16You're probably, like me, trying to target an individual item in the listview, correct? I'm actually trying to disable the ability to select certain items in the listview. Anybody have advice?

