SP.View.viewType Property
Applies to: SharePoint Foundation 2010
In this article
Property Value
Applies To
Remarks
Gets a value that specifies the type of the list view.
var value = SP.View.get_viewType();
Property Value
Type: String
Applies To
Remarks
It must be one of the following: "HTML", "GRID", "CALENDAR", "RECURRENCE", "CHART", or "GANTT".