How to get the selected node?
I am also trying to figure out how to get the selected node. I looked through the documentation and it is not there. I tried to look through the code, and couldn't find anything.
Anyone?
Seems nodeSelected is fired when you click the label...
Thanks for responding.
I know that when you click the node you can get it from the event. I'm currently using that. However, I'm looking to get it at other times.
To give you more information, my project requires to be able to press the delete key, and to be able to delete the selected node. Therefore, I need to get the current node after a keypress event. Is this possible?