@Dominic.Lerbs wrote:
Hello,
let’s assume I have node data as follows:
"nodeDataArray": [{ "id": 1 "category": "a", "value": 5 }, { "id": 2 "category": "b", } ]
Now I would like to create a Binding (e.g. for displaying some text) for the Node with id 2 which should update whenever the “value” property of node with id 1 changes.
What would be the best way to do so?
I couldn’t find an option using a binding, as the binding cannot(?) be bound to data of other nodes.
I could subscribe to the onModelChanged event and then manually call updateTargetBindings(), but in this case, how do I get the id of the node which triggered the event?Which solution would you suggest?
Best regards,
Dominic
Posts: 3
Participants: 2