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

expandTree format issue

$
0
0

@itsjustcarlos wrote:

I'm trying to use expandTree to expand tree
However, I'm getting an unexpected number error.

go.GraphObject.make(go.Node, "Auto",
   { 	expandTree(2),
   isTreeExpanded: false,
       },

Looked over the docs here, https://gojs.net/latest/api/symbols/Node.html#expandTree, but it wasn't clear to me what the format should be.

tried putting it outside the {} but that created other errors. not a function, not defined etc.

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 7069

Trending Articles