ListView.itemDataSource property

0 out of 4 rated this helpful - Rate this topic

Gets or sets the data source that provides the ListView with items.

Syntax


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


var itemDataSource = listView.itemDataSource;
listView.itemDataSource = itemDataSource;

Property value

Type: IListDataSource

An IListDataSource that represents the data source from which the data-bound control retrieves its data. The default value is null.

Remarks

The ListView doesn't support more than 1.5 million pixels worth of items.

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
Quickstart: Adding a ListView

 

 

Build date: 12/5/2012

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