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

Binding to a property of a property

$
0
0

@Charles wrote:

Go.js Ver 1.6.11

Is it possible to bind to a property of a property on node data, like so? All of the examples I've seen are only single level deep bindings, but I can't find anything that's restricting it one way or the other. I've tried several possibilities and none of them have worked. Hoping I'm just missing something.

GO(go.Picture,
  {
    desiredSize: new go.Size(TASK_NODE_STATUS_ICON_SIZE, TASK_NODE_STATUS_ICON_SIZE)
  },
  new go.Binding("element", "metadataObject/status", getTaskStatusImage)
)

Posts: 3

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 7069

Trending Articles