Setting a listView item as selected
-
sexta-feira, 17 de fevereiro de 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
Todas as Respostas
-
sexta-feira, 17 de fevereiro 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)
- Sugerido como Resposta Jeff SandersMicrosoft Employee, Moderator sexta-feira, 17 de fevereiro de 2012 14:20
- Marcado como Resposta Bob_BaoMVP, Moderator quarta-feira, 7 de março de 2012 04:05
-
terça-feira, 13 de março 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?

