hi,
I have a node template that looks like:
var defaultTemplate =
M(go.Node, "Auto",
{ resizable: true },
new go.Binding("location", "location"),
new go.Binding("width", "width"),
new go.Binding("height", "height"),
....
that works great initially… but if I later want to update the location by doing:
model.raiseDataChanged(this, "location", oldLocation, this.location);
it doesn’t do anything…
what I noticed is that the location does get updated whenever I do a data changed for ‘width’ or ‘height’… like:
model.raiseDataChanged(this, "width", oldWdth, this.width);
model.raiseDataChanged(this, "height", oldHeight, this.height);
any idea about what I’m doing wrong here?
thanks,
cAndrei