Metro: Dynamically Switching Templates with a WinJS ListView
- by Stephen.Walther
Imagine that you want to display a list of products using the WinJS ListView control. Imagine, furthermore, that you want to use different templates to display different products. In particular, when a product is on sale, you want to display the product using a special “On Sale” template.
In this blog entry, I explain how you can switch templates…