Partilhar via


GridLayout.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 = gridLayout.groupInfo;
gridLayout.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

GridLayout

HTML ListView item templates sample (Windows)