WinJS.UI.VirtualizedDataSource object

Serves as the base class for a custom IListDataSource.

Syntax

var object = new WinJS.UI.VirtualizedDataSource(listDataAdaptor);

Members

The VirtualizedDataSource object has these types of members:

  • Constructors
  • Events
  • Methods

Constructors

The VirtualizedDataSource object has these constructors.

Constructor Description
VirtualizedDataSource

Initializes the VirtualizedDataSource base class of a custom data source.

Events

The VirtualizedDataSource object has these events.

Event Description
statuschanged

Occurs when the status of the VirtualizedDataSource changes.

Methods

The VirtualizedDataSource object has these methods.

Method Description
addEventListener

Registers an event handler for the specified event.

dispatchEvent

Raises an event of the specified type and with additional properties.

removeEventListener

Removes an event handler that the addEventListener method registered.

Remarks

This class implements the IListDataSource interface. For a complete list of members, see the IListDataSource interface.

Do not instantiate this class directly; only use it as a base class when you create your own, custom data source. For more info, see How to create a custom data source.

Requirements

Minimum WinJS version

WinJS 3.0

Namespace

WinJS.UI

See also

How to create a custom data source