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

Binding width property with model.width data

$
0
0

@kapiton09 wrote:

Is it possible to bind textBlock or shape width, height with model's data? If yes how? Very new to GoJS.

$(go.TextBlock, { margin: 5, width: 100 }, --> instead of hardcoding 100
Model array -> { key: "123", names: ["$50.66"], linkNameUp: "", linkNameDown: "", parent: "", width: 50, height: 20 },

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 7069

Trending Articles