SP.ViewType enumeration

Specifies the type of the list view.

Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013

var SP.ViewType = {calendar : "Undefined",chart : "Undefined",gantt : "Undefined",grid : "Undefined",html : "Undefined",none : "Undefined",recurrence : "Undefined",registerEnum : "Undefined"}

Members

The ViewType enumeration has the following members.

Member

Value

Description

calendar

524288

Enumeration whose values specify a calendar list view type.

chart

131072

Enumeration whose values specify a chart list view type.

gantt

67108864

Enumeration whose values specify a Gantt chart list view type.

grid

2048

Enumeration whose values specify a datasheet list view type.

html

1

Enumeration whose values specify an HTML list view type.

none

0

The type of the list view is not specified.

recurrence

8193

Enumeration whose values specify a list view type that displays recurring events.

registerEnum

Undefined