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

Delete child nodes on click of button present on parent node

$
0
0

@SmilyArora wrote:

Hi,

I have 2 buttons present on a node :
i) Expand - which makes a REST call, and gets the child nodes for that particular node achieved using:

image

ii) Collapse - Which will delete the set of nodes we got in step (i).

In step 2 i am not able to delete the set of nodes shown in step 1.
How can we achieve the same ?
My diagram looks something like this :

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 6969

Trending Articles