SP.ListOperation.Selection.deselectAllListItems(iid) Method
Applies to: SharePoint Foundation 2010
In this article
Return Value
Remarks
Applies To
Cancels the selection of all list items.
var value = SP.ListOperation.Selection.deselectAllListItems(iid);
Parameters
iid
Type: string
The ID of the list containing the items for which the selection is canceled.
Return Value
Type: Boolean
true if the operation is successful; otherwise, false.
Remarks
This method cancels the selection of all list items, and then updates the Server ribbon.
The format of iid is "ctxNum,id,objType", where "ctxNum" is the integer value of the context name; "id" and "objType" are ignored.
The value for "ctxNum" can be found using GetCurrentCtx().ctxId in Core.js.
Applies To
SP.ListOperation.Selection Class