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

GOJS TREE with two groups with same key name

$
0
0

@nadeemparvez.ak wrote:

Hello I am implementing concepts of records containing tree.

so I am creating two groups in node Data Array

{ isGroup: true, key: -2, text: "Device Model", xy: "300 0" },
{isGroup:true,key:-3,text:"test",xy:"626 50"}

{isGroup:true,key:-3,text:"test",xy:"626 50"}

and the text is binded to key

$(go.TextBlock,
new go.Binding("text", "key", function(s) { return s; }))

now my problem is when ever i use the same key name and push it to the linkDataArray although they are in different groups. My tree link breaks up .

is there a way to differentiate linkDataArray.push with groups ?

Posts: 3

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 6971

Trending Articles