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

Bind a value from a hierarchical model

$
0
0

@llopht wrote:

Imagine a model like :

{ key: 'My little key', color: '#FF0000' }

To bind color, it's very simple with :

new go.Binding('portId', 'portId'),

But In case where this "color" is encapsuled in a hierarchical structure like :

{ key: 'My little key',
   sublevel: {
      sublevel: {
          color: '#FF0000'
      }
   }

How to bind it ?

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 7069

Trending Articles