A validation event raised while the user is moving or resizing a node.
JavaScript Copy Code |
---|
function onNodeModifying (sender, args) |
NodeModifying handlers receive an event object of type NodeEventArgs.
This event is raised after each mouse movement while modifying a node. SetCancel will change the mouse cursor to DisallowCursor. The event is raised once again when the mouse button is released. setCancel in that case will cancel the modification and return the node to its original location.
To handle the NodeModifying event, assign the name of the respective JavaScript function (for example 'onNodeModifying') to the NodeModifyingScript property.