WinJS.UI.IListDataNotificationHandler interface

Applies to Windows and Windows Phone

Notifies clients when an IListDataAdapter object's data changes.

Members

The IListDataNotificationHandler interface has these types of members:

Methods

The IListDataNotificationHandler interface has these methods.

MethodDescription
beginNotifications

Indicates the start of a notification batch. Objects that are listening for notifications should defer making updates until endNotifications is called.

changed

Raises a notification that an item in the IListDataAdapter object's data source has changed.

endNotifications

Indicates the end of a notification batch. When the beginNotifications method is called, objects listening for notifications should defer making updates until endNotifications is called.

inserted

Raises a notification that an item has been added to the IListDataAdapter object's data source.

invalidateAll

Indicates that all previous data obtained from the IListDataAdapter is invalid and should be refreshed.

moved

Raises a notification that an item was moved within the IListDataAdapter object's data source.

reload

Reloads data from the IListDataAdapter.

removed

Raises a notification that an item was removed from the IListDataAdapter object's data source.

 

Remarks

To provide notifications, pass an object that implements this interface to an IListDataAdapter object's setNotificationHandler method.

Requirements

Minimum supported client

Windows 8 [Windows Store apps only]

Minimum supported server

Windows Server 2012 [Windows Store apps only]

Minimum supported phone

Windows Phone 8.1

Namespace

WinJS.UI

 

 

Show:
© 2014 Microsoft