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

Change the Property which is used for binding in GoJS Node Template

$
0
0

@mithun wrote:

Hi,

I have this condition where, I need to change the binding when I change a dropdown outside my map.

Could you please tell me how do I achieve this?

My Situation is something like this :

$$(go.TextBlock,
       new go.Binding("text", "" , function(data){
           return data.property1;})
    )

And in my dropdown change event,
I need to change the binding to data.property2 instead of data.property1.
I have tried set Model.setDataProperty but it didnt help.

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 7069

Trending Articles