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

GOJS SetKeyForNodeData

$
0
0

@ng wrote:

i have set nodeKeyProperty = 'id' of diagram model. when i drag and drop data into diagram model , id is automatically assigned with some unique value . in External objects dropped event , i am setting id after getting it from server . and i called this.myDiagram.model.setDataProperty(block.data,"id",value.id); this.myDiagram.model.setKeyForNodeData(block.data,value.id);

the dropped node gets deleted. Why?

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 7069

Trending Articles