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

External objects dropped on to the grid have values set for the older objects

$
0
0

@AmoghRaghuram wrote:

We have a palette with several objects in our Angular application. These objects have several keys. Once after we drag and drop objects on to the screen, we set values for them. Once we set values for them and then we drag and drop new instance of the same object it has the values pre-filled with the values set for the last object. What can we do to have a new instance of the same object without the values pre-filled.

this.diagram.addDiagramListener(‘ExternalObjectsDropped’, (e) => {
let node = e.subject.Ea.value.Zd;
this.nodeSelected.emit(node);
this.diagram.requestUpdate();
});

Posts: 6

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 7069

Trending Articles