mar10 / dynatree

Automatically exported from code.google.com/p/dynatree
92 stars 37 forks source link

onRemove callback #452

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What new or enhanced feature are you proposing?
'onRemove' callback in the tree options which will be called after (or before) 
removing any node. This callback also should be called for child nodes too.

What goal would this enhancement help you achieve?
It can be useful to release some resources associated with the node. Of course 
you can release resources before removing the node, but you also need to do it 
for all child nodes before. It's a bit complicated.

Original issue reported on code.google.com by alkol...@gmail.com on 4 Sep 2013 at 9:53

GoogleCodeExporter commented 9 years ago

Original comment by moo...@wwwendt.de on 6 Sep 2013 at 7:19

GoogleCodeExporter commented 9 years ago
Added 'removeNode' callback to Fancytree

Original comment by moo...@wwwendt.de on 8 Sep 2013 at 5:32