jquery.fancytree
Advanced tools
Changelog
2.32.0 / 2019-09-10
node.hasClass()
tree.applyCommand()
and node.applyCommand()
(experimental!)tree.isLoading()
tree.toDict(includeRoot, callback)
and node.toDict(recursive, callback)
:
callback can now return false
or "skip"
to skip nodes.Changelog
2.31.0 / 2019-05-30
ext-table
that introduces viewport support, which
allows to maintain huge data models while only rendering as many DOM elements as necessary.<br>
Main changes:
tree.viewport.count
) and the index of the first visible row (.start
)dnd5.dropEffect
callback option (set data.dropEffect
instead)dnd5.dragImage
callback option (call data.dataTransfer.setDragImage()
data.useDefaultImage = false
instead)dnd5.preventRecursiveMoves
to dnd5.preventRecursion
dnd5.preventVoidMoves
now only aplies to 'move' operations, so we can copy before selfdnd5.preventSameParent
optiontreeStructureChanged
tree.findRelatedNode()
, node.findRelatedNode()
node.getPath()
$.ui.fancytree.getDragNode()
, $.ui.fancytree.getDragNodeList()
updateViewport
.checkboxAutoHide
to hide checkboxes unless selected or hovered..treeId
to prevent generation of a new sequence if the tree is re-initialized on a page..getTree()
now also accepts the tree id stringpartsel
flag that was explicitly set on a lazy nodetree.applyFilter
was removedexpandAll()
and ext-filter
Changelog
2.30.2 / 2019-01-13
preventNonNodes
option.getTree()
for jQuery 3Changelog
2.30.1 / 2018-11-13
window
, not document or body.Changelog
2.30.0 / 2018-09-02
opts
argumentnodata
option (bool, string, or callback)mergeStatusColumns
optiontree.enable(flag)
tree.expandAll(flag, opts)
tree.setOption(name, value)
and tree.getOption(name)
{..., children: []}
Changelog
2.29.1 / 2018-06-27
triggerStart: []
does not override the default settings.<br>
NOTE: Options of type Array
will now override the default option.
Before, arrays were merged with the default.Changelog
2.29.0 / 2018-06-16
toggleEffect
now also accepts "toggle" or "slideToggle" to use jQuery effects instead of jQueryUI.<br>
toggleEffect: { effect: "slideToggle", duration: 200 }
is now the default.<br>
'effects' component was removed from the bundled jquery.fancytree.ui-deps.jsChangelog
2.28.1 / 2018-03-19
Changelog
2.28.0 / 2018-03-02
icon
option supports {html: "..."}
content (also available for glyph-ext mapping)..fancytree-helper-disabled
<br>
.fancytree-helper-hidden
(replaces ui-helper-hidden
)<br>
.fancytree-helper-indeterminate-cb
<br>
fancytree-helper-spin
for icon animations (replaces glyphicon-spin
)Changelog
2.27.0 / 2017-12-16
node.type
is now a first-class property of FancytreeNode.
Node data {..., type: "foo"}
is now available as node.type
(before: node.data.type
).tree.types
and tree.columns
have been added to Fancytree.
If passed with source data, they are now available directly instead of
tree.data.types
or tree.data.columns
.node.type
and tree.types
are recommended to implement node-type
specific configuration (details).data
argument contains typeInfo == tree.types[node.type]
.icon
option can now return a dict to create a ligature icon.node.key
.progress()
events which can
be used instead of the callback.tree.columns
was added to Fancytree. Currently only reserved as
recommended pattern to pass global meta-data for ext-table.clickActive
for option triggerStart: [...]
.iconTooltip
).<mark>
element missing in filtered nodes (minified bundle, IE 11)."FancytreeNode@_4[title='My name']"
tree.clearCookies()
. Use <del>tree.clearData()
</del> tree.clearPersistData()
instead.