Gets or sets a value indicating whether users are forbidden to modify this item.
Namespace: MindFusion.Scheduling
File: Item.js
JavaScript Copy Code |
---|
get locked() {} |
Boolean. true if the Item is locked and users cannot modify it; otherwise false.
The following code creates a new Item and locks it to avoid any modification of it:
JavaScript Copy Code |
---|
var p = MindFusion.Scheduling; item.subject = "conference"; // lock the item to disable interactive drag and resize |