CellSpanningLayout.groupHeaderPosition property

Applies to Windows only

Gets or sets the position of group headers relative to their items.

Syntax


<div 
    data-win-control="WinJS.UI.ListView"
    data-win-options="{layout: {type: WinJS.UI.CellSpanningLayout, groupHeaderPosition: value}}">
</div>


var groupHeaderPosition = cellSpanningLayout.groupHeaderPosition;
cellSpanningLayout.groupHeaderPosition = groupHeaderPosition;

Property value

Type: WinJS.UI.HeaderPosition

One of the values defined by the WinJS.UI.HeaderPosition enumeration. The default value is WinJS.UI.HeaderPosition.top.

WinJS.UI.HeaderPosition.left

Headers appear to the left of their items.

WinJS.UI.HeaderPosition.top

Headers appear above their items. This is the default value.

Requirements

Minimum supported client

Windows 8.1 [Windows Store apps only]

Minimum supported server

Windows Server 2012 R2 [Windows Store apps only]

Minimum supported phone

None supported

Namespace

WinJS.UI

Library

Ui.js

See also

CellSpanningLayout

 

 

Show:
© 2015 Microsoft