Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Retrieves the item at the specified index and also retrieves the specified number of items before and after the selected item.
Syntax
iListDataAdapter.itemsFromIndex(index, countBefore, countAfter).done( /* Your success and error handlers */ );
Parameters
index
Type: NumberThe index of the item to retrieve.
countBefore
Type: NumberThe number of items to retrieve from before the selected item.
countAfter
Type: NumberThe number of items to retrieve from after the selected item.
Return value
Type: Promise**
A Promise that provides an IFetchResult that contains the selected items or a FetchError if an error was encountered.
Requirements
Minimum WinJS version |
WinJS 3.0 |
Namespace |
WinJS.UI |