ListLayout.groupHeaderPosition property
Gets or sets the position of group headers.
Syntax
<div
data-win-control="WinJS.UI.ListView"
data-win-options="{layout: {type: WinJS.UI.ListLayout, groupHeaderPosition: 'value'}}">
</div>
var groupHeaderPosition = listLayout.groupHeaderPosition;
listLayout.groupHeaderPosition = groupHeaderPosition;
Property value
Type: WinJS.UI.HeaderPosition**
A WinJS.UI.HeaderPosition value that specifies the position of the group header relative to the items in the group. The default value is WinJS.UI.HeaderPosition.top.
WinJS.UI.HeaderPosition.left**
Headers appear to the left of their items.
Headers appear above their items. This is the default value.
Requirements
Minimum WinJS version |
WinJS 3.0 |
Namespace |
WinJS.UI |