ListView.elementFromIndex method

This topic has not yet been rated - Rate this topic

Returns the Document Object Model (DOM) element that represents the item at the specified index.

Syntax


var htmlElement = listView.elementFromIndex(itemIndex);

Parameters

itemIndex

Type: Number

The index of the item.

Return value

Type: HTMLElement

The DOM element that represents the item at the specified index.

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.