@anupamsinghbisht wrote:
Hi I have defined binding in node temoplate as :
new go.Binding("height", "height", function(x) { rerturn parseInt(x); }).makeTwoWay(),
I am passign height as string eg.
{ height : "100"}
and want to get height as Number if i access usingpart.data.height
but while accessing model data I am getiing height as string not as Number.
I have also tried both conversion function as mentioned here : http://gojs.net/latest/api/symbols/Binding.html
Posts: 3
Participants: 2