4 out of 6 rated this helpful - Rate this topic

SP.ListOperation.Selection.getSelectedItems() Method

SharePoint 2010

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.

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.