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

Getting swimlane group ID while Drag&Drop

$
0
0

@Gowrishankar wrote:

  • I could not get group name or unique id while I drag & drop node in to swimlanes
    code:
    groupTemplate

    mouseDrop: function(e, group) {
    debugger // always getting (group.row = 0 )
    var dropppedNode = group.diagram.selection.first()
    var node = dropppedNode.data
    // if any dropped part wasn't already a member of this group, we'll want to let the group's row
    // column allow themselves to be resized automatically, in case the row height or column width
    // had been set manually by the LaneResizingTool
    var anynew = e.diagram.selection.any(function(p) {
    return p.containingGroup !== group;
    });

  • I could not find method to add link dynamic from one node to another node
    can you please help me?

Posts: 3

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 6972

Trending Articles