December 2013
Intermediate to advanced
480 pages
14h 11m
English
The default layout is grid layout. When a ListView displays items in grid layout, the items are displayed in multiple columns. If there are too many items to fit in the ListView then you scroll to the right to view the additional items (see Figure 8.4).
FIGURE 8.4 ListView in grid layout
Note
Under the covers, grid layout uses the W3C CSS 3 Grid Layout recommendation. You can read the details here at http://dev.w3.org/csswg/css3-grid-layout/.
When the ListView uses grid layout, you can set the maximumRowsOrColumns property to set the maximum number of grid rows that should be displayed. Here’s how you would set the maximumRowsOrColumns ...
Read now
Unlock full access