Compartir a través de


ListLayout.groupInfo property

This property is no longer supported. Starting with the Windows Library for JavaScript 2.0, use a CellSpanningLayout. Gets or sets a function that enables cell-spanning and establishes base cell dimensions.

Syntax

var groupInfo = listLayout.groupInfo;
listLayout.groupInfo = groupInfo;

Property value

Type: Function

A function that returns an object that contains these properties:

enableCellSpanning

Set to true to allow the ListView to contain items of multiple sizes (items that span multiple cells).

cellWidth

The width of the base cell.

cellHeight

The height of the base cell.

Requirements

Minimum WinJS version

WinJS 3.0

Namespace

WinJS.UI

See also

ListLayout

HTML ListView item templates sample (Windows)