IsCalendar (NotesView - JavaScript)

Read-only. Indicates whether a view is a calendar view.

Defined in

NotesView

Syntax

isCalendar() : boolean
Legal value Description
true if the view is a calendar view
false if the view is not a calendar view

Examples

This button determines whether each view in the current database is standard or calendar, with or without conflict checking.
var views = database.getViews().iterator();
var cal:string = "";
while (views.hasNext()) {
	var v:NotesView = views.next();
	if (v.isCalendar()) {
		cal = "calendar view" + (v.isConflict() ? " with conflict checking" : "");
	} else {
		cal = "standard outline view";
	}
	requestScope.status += "\n" + v.getName() + " is a " + cal;
}