Search
Calendar.resourceViewSettings Property
See Also
Collapse All Expand All Language Filter: All Language Filter: Multiple Language Filter: None Language Filter: C# Language Filter: Visual Basic Language Filter: Java Language Filter: JavaScript Language Filter: C++ Language Filter: XAML
C#
Visual Basic
Java
JavaScript
C++
XAML
Introduction
General Information
What's New In This Release
Version History
Getting Started
Code Completion With VSDoc IntelliSense
Programming Interface Overview
Tutorials
Reference
MindFusion.Common
MindFusion.Common.Collections
MindFusion.Controls
MindFusion.Scheduling
BaseForm Class
ButtonEventArgs Class
Calendar Class
Calendar Members
Calendar Constructor
Calendar Methods
Calendar Properties
allowInplaceEdit Property
cells Property
contactNameFormat Property
contacts Property
currentView Property
date Property
endDate Property
endTime Property
formatInfo Property
groupType Property
header Property
itemSelection Property
itemsEndTime Property
itemSettings Property
itemsStartTime Property
listSettings Property
locale Property
localInfo Property
locations Property
monthRangeSettings Property
monthSettings Property
realGroupType Property
resources Property
resourceViewSettings Property
schedule Property
selection Property
showTooltips Property
startTime Property
tasks Property
timetableSettings Property
useForms Property
weekRangeSettings Property
Calendar Events
CalendarView Enumeration
CellEventArgs Class
Contact Class
CueForm Class
DailyRecurrence Enumeration
DateChangedEventArgs Class
DateTime Class
DayOfWeek Enumeration
DayOfWeekFormat Enumeration
DayOfWeekType Enumeration
DaysOfWeek Enumeration
FormEventArgs Class
GroupType Enumeration
HeaderEventArgs Class
HeaderType Enumeration
HorizontalHeaderStyle Enumeration
Item Class
ItemEventArgs Class
ItemModifiedEventArgs Class
ItemModifyAction Enumeration
ItemModifyingEventArgs Class
ItemSettings Class
JsonPersistContext Class
Keys Enumeration
ListSettings Class
LocalStrings Class
Location Class
MainHeaderStyle Enumeration
MonthlyRecurrence Enumeration
MonthRangeSettings Class
MonthSettings Class
Occurrence Enumeration
Orientation Enumeration
Recurrence Class
RecurrenceEnd Enumeration
RecurrenceException Class
RecurrencePattern Enumeration
RecurrenceState Enumeration
Reminder Class
ReminderType Enumeration
Resource Class
ResourceViewSettings Class
ResourceViewTimeline Enumeration
Schedule Class
Selection Class
SelectionEventArgs Class
Task Class
TaskEventArgs Class
TaskPriority Enumeration
TaskStatus Enumeration
TimelineSettings Class
TimeRange Class
TimeSpan Class
TimetableSettings Class
TimeUnit Enumeration
VerticalHeaderStyle Enumeration
ViewCell Class
WebComponents Class
WeekRangeSettings Class
WeekRangeViewStyle Enumeration
XmlPersistContext Class
YearlyRecurrence Enumeration
Licensing
Online Resources
Technical Support
MindFusion Products

Gets the ResourceViewSettings object used to customize the appearance of the Resource view.

Namespace: MindFusion.Scheduling
Assembly: Calendar.js

## Syntax

JavaScript Copy Code
get resourceViewSettings() {} set resourceViewSettings(value) {}

### Property Value

An instance of the ResourceViewSettings class.

## Example

The following code uses the resourceViewSettings property of a calendar to set the number of timelines. Note: the code assumes you have initialized a <div> element with id “calendar” in a web page that references the JavaScript file, which contains this code:

JavaScript Copy Code
var p = MindFusion.Scheduling; // create a new instance of the calendar calendar = new p.Calendar(document.getElementById("calendar")); // set the view to ResourceView, which displays the distribution of resources over a period of time calendar.currentView = p.CalendarView.ResourceView; // sets the number of timelines to two calendar.resourceViewSettings.timelines = 2;

## See Also

Calendar Members
Calendar Class
MindFusion.Scheduling Namespace