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

Identify/differentiate groups

$
0
0

@akash1 wrote:

Hi,I have grouped shapes inside a group and this main group is made by grouping the groped shapes.
So how can identify that the selected group is top level group(by top level i mean the outer group that covers both the grouped diagrams) or not at the time of ungrouping.
Here is the code for ungrouping.

myDiagram.addDiagramListener("SelectionUngrouped", function(e) {
e.parameter.each(function(part) {
part.movable = true;
part.resizable = true;
part.rotatable = true;
});
});

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 6969

Trending Articles