Tuesday, August 14, 2012 2:11 PM
I am trying to Group items in a ListView control in a LightSwitch HTML5 Client app. I attempted to use the LightSwitch Custom Control and create the ListView and associated templates in the element's render function. Apparently the WinJS package in the VHD is not the standard WinJS and does not contain, for example, the WinJS.Binding.List.
Does anyone have an example of using Groups with the ListView in a LightSwitch HTML5 Client? Is there a way to add the standard WinJS package to my Client project?
Wednesday, August 29, 2012 4:47 PM
if the Lightswitch team will use the jquery mobile 1.2 (alpha right now), then it will be easy.
We have to wait and see. think it's a bit tricky right now.
- Proposed As Answer by Sven Elm Wednesday, August 29, 2012 4:47 PM
Wednesday, August 29, 2012 6:12 PM
You are correct in that LightSwitch uses a small, cross-browser compatible subset of the actual WinJS library. However, you can replace the WinJS-1.0.RC.js file with the complete base.js file if you want to get access to other features.
Hope that helps,
Stephen Provine [MSFT]
Visual Studio LightSwitch Team