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

SP.View Class

Remarks

It must be one of the following: "HTML", "GRID", "CALENDAR", "RECURRENCE", "CHART", or "GANTT".

See Also

Reference

SP.View Methods

SP.View Properties

SP Namespace