EN
Dieser Inhalt ist in Ihrer Sprache leider nicht verfügbar. Im Folgenden finden Sie die englische Version.

ListView.resetGroupHeader property

Applies to Windows and Windows Phone

[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).

ParameterDescription

header

The data for the HTML element being recycled.

element

The HTML element being recycled.

 

Requirements

Minimum supported client

Windows 8 [Windows Store apps only]

Minimum supported server

Windows Server 2012 [Windows Store apps only]

Minimum supported phone

Windows Phone 8.1

Namespace

WinJS.UI

Library

Ui.js

See also

ListView

 

 

Anzeigen:
© 2014 Microsoft