This example integrates the jquery-ui-contextmenu plugin (which is not related to Fancytree).
jquery.fancytree.js project home Link to this page Example Browser View source code