OptionalactivateOptionalbeforeReturn false to prevent default processing
OptionalbeforeReturn false to prevent default processing
OptionalbeforeReturn false to prevent default processing
OptionalblurOptionalblurOptionalclickdata.node was clicked. data.targetType contains the region ("title", "expander", ...). Return false to prevent default processing, i.e. activating, etc.
OptionalcollapseOptionalcreateWidget was created (called only once, even if re-initialized).
OptionalcreateAllow tweaking and binding, after node was created for the first time (NOTE: this event is only available as callback, but not for bind())
Optionaldblclickdata.node was double-clicked. data.targetType contains the region ("title", "expander", ...). Return false to prevent default processing, i.e. expanding, etc.
OptionaldeactivateOptionalexpandOptionalfocusOptionalfocusOptionalinitOptionalkeydowndata.node received key. event.which contains the key. Return false to prevent default processing, i.e. navigation. Call data.result = "preventNav"; to prevent navigation but still allow default handling inside embedded input controls.
OptionalkeypressOptionallazydata.node is a lazy node that is expanded for the first time. The new child data must be returned in the data.result property (see source option for available formats).
OptionalloadNode data was loaded, i.e. node.nodeLoadChildren() finished
OptionalloadA load error occured. Return false to prevent default processing.
OptionalpostOptionalremovedata.node was removed (NOTE: this event is only available as callback, but not for bind())
OptionalrenderOptionalrenderAllow tweaking after node state was rendered (NOTE: this event is only available as callback, but not for bind())
OptionalrenderAllow replacing the <span class='fancytree-title'> markup (NOTE: this event is only available as callback, but not for bind())
Optionalrestoreext-persist has expanded, selected, and activated the previous state
Optionalselect
The
thiscontext of any event function is set to tree's the HTMLDivElement