@hunnysharma102 wrote:
Trying to cancel SelectionDeleting Event, but event parameter does not have cancel property.
Can you please give me an example which can explain how to cancel “SelectionDeleting” Event.I Tried with the following code, but not working.
TreeLayoutDiagram.prototype.onDiagramSelectionDeleting = function (event) {
var e = event.diagram.lastInput.event;e.cancelBubble = true; e.stopPropagation(); e.preventDefault(); event.cancel = true; return false; }
Posts: 2
Participants: 2