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 |
|
See also
Build date: 12/5/2012