Setting a listView item as selected
-
17. února 2012 4: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
Všechny reakce
-
17. února 2012 14:20Moderátor
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)
- Navržen jako odpověď Jeff SandersMicrosoft Employee, Moderator 17. února 2012 14:20
- Označen jako odpověď Bob_BaoMVP, Moderator 7. března 2012 4:05
-
13. března 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?