@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