Optional
activateOptional
beforeReturn false to prevent default processing
Optional
beforeReturn false
to prevent default processing
Optional
beforeReturn false
to prevent default processing
Optional
blurOptional
blurOptional
clickdata.node
was clicked. data.targetType
contains the region ("title", "expander", ...). Return false
to prevent default processing, i.e. activating, etc.
Optional
collapseOptional
createWidget was created (called only once, even if re-initialized).
Optional
createAllow tweaking and binding, after node was created for the first time (NOTE: this event is only available as callback, but not for bind())
Optional
dblclickdata.node
was double-clicked. data.targetType
contains the region ("title", "expander", ...). Return false
to prevent default processing, i.e. expanding, etc.
Optional
deactivateOptional
expandOptional
focusOptional
focusOptional
initOptional
keydowndata.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.
Optional
keypressOptional
lazydata.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).
Optional
loadNode data was loaded, i.e. node.nodeLoadChildren()
finished
Optional
loadA load error occured. Return false
to prevent default processing.
Optional
postOptional
removedata.node
was removed (NOTE: this event is only available as callback, but not for bind())
Optional
renderOptional
renderAllow tweaking after node state was rendered (NOTE: this event is only available as callback, but not for bind())
Optional
renderAllow replacing the <span class='fancytree-title'>
markup (NOTE: this event is only available as callback, but not for bind())
Optional
restoreext-persist has expanded, selected, and activated the previous state
Optional
select
The
this
context of any event function is set to tree's the HTMLDivElement