IListDataAdapter.remove method
Removes the specified item from the IListDataAdapter object's data source.
Syntax
iListDataAdapter.remove(key, data, indexHint).done( /* Your success and error handlers */ );
Parameters
key
Type: StringThe key of the item to remove
data
Type: ObjectThe new data for the item.
indexHint
Type: NumberThe index of the item
Return value
Type: Promise**
A Promise that returns null or undefined when the operation completes.
Remarks
Implementing this method
When implementing this method, you should verify that the item at indexHint has the same key as key, in case the index of the item changed.
Requirements
Minimum WinJS version |
WinJS 3.0 |
Namespace |
WinJS.UI |