ListView.resetItem property

0 out of 2 rated this helpful - Rate this topic

Gets or sets the function that is called when an item is removed, an item is changed, or an item falls outside of the realized range of the ListView.

Syntax


<div data-win-control="WinJS.UI.ListView" data-win-options="{ resetItem : value}" ></div>


var resetItem = listView.resetItem;
listView.resetItem = resetItem;

Property value

Type: Function

A function with the following signature: function(item, element).

ParameterDescription

item

The data for the HTML element being changed or removed.

element

The HTML element being changed or removed.

 

Requirements

Minimum supported client

Windows 8 [Windows Store apps only]

Minimum supported server

Windows Server 2012 [Windows Store apps only]

Namespace

WinJS.UI

Library

Ui.js

See also

ListView

 

 

Build date: 12/5/2012

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.