DayPilot
Products
Support
DayPilot Pro JavaScript API Reference
Home
DayPilot.Action Class
DayPilot.Area Class
DayPilot.Bubble Class
DayPilot.Calendar Class
Constructor
Events
Methods
Properties
allDayEnd
allDayEventHeight
allDayEventTextWrappingEnabled
allowEventOverlap
allowMultiSelect
api
autoRefreshCommand
autoRefreshEnabled
autoRefreshInterval
autoRefreshMaxCount
autoScroll
backendUrl
bubble
businessBeginsHour
businessEndsHour
cellBubble
cellDuration
cellHeight
clientState
columnBubble
columnMarginLeft
columnMarginRight
columnMoveHandling
columnMoveSameLevelOnly
columnResizeHandling
columns
columns.list
columnsLoadMethod
columnWidth
columnWidthMin
columnWidthSpec
contextMenu
contextMenuSelection
cornerHtml
crosshairType
cssClass
cssClassPrefix
cssOnly
dayBeginsHour
dayEndsHour
days
doubleClickTimeout
durationBarVisible
eventArrangement
eventBorderRadius
eventClickHandling
eventDeleteHandling
eventDoubleClickHandling
eventEditHandling
eventHoverHandling
eventMoveHandling
eventMovingStartEndEnabled
eventMovingStartEndFormat
eventResizeHandling
eventResizingStartEndEnabled
eventResizingStartEndFormat
eventRightClickHandling
events.list
eventSelectHandling
eventsLoadMethod
eventTapAndHoldHandling
headerClickHandling
headerDateFormat
headerHeight
headerLevels
headerTextWrappingEnabled
height
heightSpec
hideUntilInit
hourWidth
id
loadingLabelHtml
loadingLabelText
loadingLabelVisible
locale
messageHideAfter
moveBy
notifyCommit
queue.list
roundedCorners
rtl
scale
scrollLabelsVisible
showAllDayEvents
showCurrentTime
showCurrentTimeMode
showCurrentTimeOffset
showEventStartEnd
showHeader
showHours
showToolTip
startDate
tapAndHoldTimeout
theme
timeFormat
timeHeaderCellDuration
timeRangeClickHandling
timeRangeDoubleClickHandling
timeRangeRightClickHandling
timeRangeSelectedHandling
timeRangeSelectingStartEndEnabled
timeRangeSelectingStartEndFormat
timeRangeTapAndHoldHandling
useEventBoxes
viewType
visible
watchWidthChanges
weekStarts
width
xssProtection
zoomLevels
DayPilot.CellArray Class
DayPilot.Column Class
DayPilot.Date Class
DayPilot.DatePicker Class
DayPilot.Duration Class
DayPilot.Event Class
DayPilot.Gantt Class
DayPilot.Http Class
DayPilot.Kanban Class
DayPilot.Link Class
DayPilot.Locale Class
DayPilot.Menu Class
DayPilot.Modal Class
DayPilot.Month Class
DayPilot.Navigator Class
DayPilot.Queue Class
DayPilot.Row Class
DayPilot.Scheduler Class
DayPilot.Switcher Class
DayPilot.Task Class
DayPilot API Reference
»
DayPilot.Calendar Class
»
DayPilot.Calendar Properties
»
DayPilot.Calendar.viewType
DayPilot.Calendar.viewType
The
viewType
property (string) sets the
calendar view type
.
Possible Values
"Day"
"Week"
"WorkWeek"
"Days"
"Resources"
Default Value
"Days"
See Also
DayPilot.Calendar.startDate
DayPilot.Calendar.days
DayPilot.Calendar.visibleStart()
DayPilot.Calendar.visibleEnd()
Example
dp.viewType = "Week";