O'Reilly logo

Sencha Touch 2 Mobile JavaScript Framework by Bryan P. Johnson, John Earl Clark

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 7. Getting the Data Out

In the previous chapter, we looked at how you can get data into a Sencha Touch data store. Once we have the data, the next step is figuring out how to get it out of the store and use it in our application. Fortunately for us, Sencha Touch has a number of built-in ways to help us accomplish this task. Here we will explore how to use individual data records as well as the complete contents of the data store to display information in our application.

In this chapter, we will look at:

  • Using data stores for display
  • Binding, sorting, filtering, paging, and loading data stores
  • Working with XTemplates
  • Looping through data in an XTemplate
  • Conditional display and inline functions in XTemplates
  • Inline JavaScript and member functions ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required