Gets or sets a value indicating whether users are allowed to select date cells.
Namespace: MindFusion.Scheduling
Assembly: Selection.js
SyntaxJavaScript
Copy Code
|
|---|
get enabled() {} |
Boolean
True if selection is enabled, otherwise false.
ExampleHere is how you check if multiple selection in the calendar is allowed. 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
|
|---|
// create a new instance of the calendar if (calendar.selection.enabled) |
See Also