i tried using tree.on("expand", myMethod); It is not working, but same syntax for "click" event is working.
Thanks in advance!
Never mind, event is expandnode instead of expand.
expandnode
expand