Quantcast
Channel: GoJS - Northwoods Software
Viewing all articles
Browse latest Browse all 6972

Modified event occur when I drag

$
0
0

@BATU wrote:

I have 2 diagram, diagram A and B. when I drag a node from A to B, A diagram's Modified event is occur and isModified status was true.
test code is every simple. like below .
`
myDiagram.diagramKey = "A";
myDiagram2.diagramKey = "B";

myDiagram.addDiagramListener("Modified", digmModified);
myDiagram2.addDiagramListener("Modified", digmModified);

function digmModified(e) {
console.log( "Modified Diagram: "+ e.diagram.diagramKey + " " + e.diagram.isModified);
}
`
I think the correct action is diagram A not Modified. or even Modified event is not occur.

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 6972

Trending Articles