SP.ViewCollection.getById(guidId) Method
Applies to: SharePoint Foundation 2010
Gets the list view with the specified ID.
var value = SP.ViewCollection.getById(guidId);
Parameters
guidId
Type: SP.Guid
The ID of the view to return.
Return Value
Type: SP.View
The list view with the specified ID.