This scenario uses three different item templates to displays items in three different sizes. The example’s data source contains an extra field, 'type', that specifies which style it should use. The custom templating function, 'MyCellSpanningJSTemplate', uses the 'type' field to style each item in its proper size. A 'groupInfo' property must be provided on the layout of the ListView to enable cell spanning.