O'Reilly logo

Creating Mobile Apps with Sencha Touch 2 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

The details dataview

When using Sencha Touch, it's very easy to think of a dataview as just a fancy list. However, that tends to lock people into the list aspects of the dataview while ignoring the possibility of more complex layouts.

For example, a newspaper-style layout is a great use of a dataview. The layout is a collection of articles with titles, dates, authors, and content. However it sidesteps the standard concept of a list and replaces it with a more visually interesting layout:

The details dataview

A newspaper-style layout works well on a larger tablet-sized screen, but it would be difficult to read on a smaller phone screen. We need a way to change the layout ...

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