Closed ezeagwulae closed 2 years ago
Hi @ezeagwulae ,
This is the right way to use the event: https://code.balkan.app/update-family-tree-js/update-node-event-listener#JS But on Update the node is already updated. What do you need to do? If you use updateNode in update, it will call itself and will do a recursion.
Thanks for that. I was under the impression additional actions are needed after an update.
That said, what is the use for updateNode?
updateNode is to update the node programmatically. Actually we are still using it only internally.
When updating a node with the
updateNode
method found here, I'm getting the following console errorThis is what I'm doing
I've tried following similar instructions here https://github.com/BALKANGraph/OrgChartJS/issues/382, but still hitting a dead end. Any guidance would be helpful. The error returns when using the
updateNode
to redraw the family tree