CHAPTER 15

images

Using the ListView Control

In this chapter, I describe the ListView control, which is another of the WinJS data-driven UI controls. There is a common foundation with the FlipView control from the last chapter, but ListView displays multiple items and provides some flexibility in how this is done. In this chapter, I explain the different kinds of template and layout that can be used, describe the differences between invoked and selected items and how you how to handle the various events that the ListView control emits. I also show you how to work with the abstractions that describe a data source so that you can write code that will ...

Get Pro Windows 8 Development with HTML5 and JavaScript now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.