WinJS.UI.VirtualizedDataSource constructor
Initializes the VirtualizedDataSource base class of a custom data source.
Syntax
var virtualizedDataSource = new WinJS.UI.VirtualizedDataSource(listDataAdapter, options);
Parameters
listDataAdapter
Type: IListDataAdapter**The object that supplies data to the VirtualizedDataSource.
options
Type: ObjectAn object that can contain properties that specify additional options for the VirtualizedDataSource. It supports these properties:
- cacheSize
A number that specifies the minimum number of unrequested items to retain, in case they are requested.
- cacheSize
Requirements
Minimum WinJS version |
WinJS 3.0 |
Namespace |
WinJS.UI |