Setting a listView item as selected
-
venerdì 17 febbraio 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
Tutte le risposte
-
venerdì 17 febbraio 2012 14:20Moderatore
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)
- Proposto come risposta Jeff SandersMicrosoft Employee, Moderator venerdì 17 febbraio 2012 14:20
- Contrassegnato come risposta Bob_BaoMVP, Moderator mercoledì 7 marzo 2012 04:05
-
martedì 13 marzo 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?

