Skip to content
Martin edited this page Aug 25, 2013 · 9 revisions

TODO

  • Link to demo page
  • Link to API-Doc http://www.wwwendt.de/tech/fancytree/doc/jsdoc/global.html#FancytreeEvents
  • Mention event.originalEvent to check if event was triggeed by a user click
  • return false to prevent default handling
  • Return values other than true or false must be passed in the data.result property:
    $("#tree").fancytree({
      ...
      lazyload: function(event, data){
        data.result = [ {"title": "New child 1"}, {"title": "New child 2"} ];
      },
      ...
    });
Clone this wiki locally