In this case i'm having to pass the Node object that is given to me by the select into my RunFilters routine because treeView.select(); still reports the old selected node at this point. My problem occurs in this case because i get the error when doing Node.closest in RunFilters "Node.closest is not a function". Is there a better way for me to be handling the OnNodeSelect that would allow me to be able to use Node.closest in my RunFilters routine?
answered on 28 Sep 2012, 10:11 AM
I believe the error is due to the fact that in the select event the selected node should be passed as e.node. Like here: