Export (0) Print
Expand All

SP.ListOperation.Selection.getSelectedItems() Method

SharePoint 2010

Last modified: May 26, 2011

Applies to: SharePoint Foundation 2010

In this article
Return Value
Remarks
Applies To

Gets the list items being selected.

var value = SP.ListOperation.Selection.getSelectedItems();

Type: Dictionary

The key/value collection that contains the list items being selected.

The key in the dictionary is the zero-based integer value. The value is an object that contains two attributes, id and fsObjType, where id is the ID of the list item, and fsObjType is the type of the item: 0 = list item or document, 1= folder.

Show:
© 2014 Microsoft