Skip to main content

Using the ListView Control

  • Chapter
  • 1012 Accesses

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

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Authors

Rights and permissions

Reprints 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

Publish with us

Policies and ethics