Abstract
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 work with any data source, not just those which are created using the WinJS.Binding.List object.
This is a preview of subscription content, log in via an institution.
Buying options
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsPreview
Unable to display preview. Download preview PDF.
Rights and permissions
Copyright information
© 2012 Adam Freeman
About this chapter
Cite this chapter
Freeman, A. (2012). Using the ListView Control. In: Pro Windows 8 Development with HTML5 and JavaScript. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4302-4402-8_15
Download citation
DOI: https://doi.org/10.1007/978-1-4302-4402-8_15
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4302-4401-1
Online ISBN: 978-1-4302-4402-8
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)