The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
ListView.resetGroupHeader property

[resetGroupHeader may be altered or unavailable for releases after Windows 8.1. Instead, mark the header element as disposable by using WinJS.Utilities.WinJS.Utilities.markDisposable. ]
Gets or sets the function that is called when the ListView discards or recycles the element representation of a group header.
Syntax
<div data-win-control="WinJS.UI.ListView" data-win-options="{ resetGroupHeader : value}"> </div>
var resetGroupHeader = listView.resetGroupHeader;
listView.resetGroupHeader = resetGroupHeader;
Property value
Type:
A function with the following signature: function(header, element).
| Parameter | Description |
|---|---|
|
The data for the HTML element being recycled. | |
|
The HTML element being recycled. |
Requirements
|
Minimum WinJS version |
WinJS 3.0 |
|---|---|
|
Namespace |
WinJS.UI |
See also
Show: