Gets the Item before the modification has occurred.
Namespace: MindFusion.Scheduling
File: EventArgs.js
SyntaxJavaScript
Copy Code
|
|---|
get oldItem() {} |
Item. The Item before the modification has occurred.
ExampleThe following example attaches a handler to the itemModified event of a calendar. In the handler method we check if the subject of the old item is "Conference". If it is, we cancel the action e.g. the item was not modified.
JavaScript
Copy Code
|
|---|
var p = MindFusion.Scheduling; // attach a handler - when a calendar item is being modified. function handleItemModifying(sender, args) { |
See Also