Hello,
Data:
{“key”: 1, “text”: “John Wayne”, “call”: “Mr”}
I want a TextBlock that displays the text like:
Mr. John WayneWith the values from the model data.
I tried:
$(go.TextBlock, {editable: true}, new go.Binding("text", "text", function(v) { return "Mr. "+v; }).makeTwoWay() )The problems are:
- I can't reach the value of CALL from function(v)
- I don't want to change the values on the Model Data, only the "label displayed"
Can you help me?
Thanks.