Setting a listView item as selected
-
viernes, 17 de febrero de 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
Todas las respuestas
-
viernes, 17 de febrero de 2012 14:20Moderador
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)
- Propuesto como respuesta Jeff SandersMicrosoft Employee, Moderator viernes, 17 de febrero de 2012 14:20
- Marcado como respuesta Bob_BaoMVP, Moderator miércoles, 07 de marzo de 2012 4:05
-
martes, 13 de marzo de 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?

