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

Get data for old and new group of a dragged node with SelectionMoved

$
0
0

@gauurof wrote:

Hey there,

i am testing "Kanban-Board". With the Diagram Event-Listener "SelectionMoved" i get the data of a dragged node and the new group name. Is it also possible to get the data for the previous group with the same Event-Listener? Here is how i use the Event-Listener:

myDiagram.addDiagramListener("SelectionMoved",
    function(e) {
        var task = e.diagram.selection.first();
        console.log(task.data); //Shows the new group name after node being dragged. But i also want to know, which group it dragged from.
});

Regards

Cihan

Posts: 3

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 7069

Trending Articles