jquery.fancytree
Advanced tools
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.Changelog
2.26.0 / 2017-11-04
$.ui.fancytree.getNode()
for ES6 environmentsChangelog
2.25.0 / 2017-10-31
dist/src/
folder was renamed to dist/modules
.demo/
are no longer part of the npm install.dist/
folder now includes a modules/
directory with fancytree core
and all extensions.jquery.fancytree/dist/modules/jquery.fancytree
is defined as
package main module, so Fancytree can be included using a simple<br>
fancytree = require('jquery.fancytree')
.<br>
See the docs
for details.$.ui.fancytree.createTree(elem, opts)
jquery.fancytree-all-deps.min.js
checkbox
option is falseChangelog
2.24.0 / 2017-08-26
preset
(making the map
option optional)Changelog
2.23.0 / 2017-05-27
The external dependency on jQuery UI was removed.<br>
A new library jquery.fancytree-all-deps.min.js
is now added to the
distribution. It includes all dependencies on jQuery UI, so the only
remaining external dependency is jQuery.<br>
Continue to use jquery.fancytree-all.min.js
if jQuery UI is already
included anyway.
Refactored the select behavior<br> details:
<!-- [details](https://github.com/mar10/fancytree/wiki#selection-and-checkboxes) -->unselectable
, unselectableIgnore
, unselectableStatus
.radiogroup
to enable single-select for child nodesopts.noEvents
to setSelected(flag, opts)
BREAKING CHANGES:
hideCheckbox
option was removed. Use checkbox: false
instead.<br>
Note that the <li class='hideCheckbox'>
is still parsed from input
HTML and converted accordingly.<div class='fancytree-radio'>
was removed.
This class was used on the container to turn all checkbox items into
radio buttons.<br>
Instead, this class is now added to <span class="fancytree-checkbox fancytree-radio">
.
Use the tree.checkox: "radio"
option to activate this for the whole tree.tree.tooltip
option has changed to
tooltip(event, data)
[Improved] aria
option is now on by default
Use the new dynamic options pattern for
checkbox
, icon
, tooltip
, unselectable
, unselectableIgnore
,
unselectableStatus
.<br>
See also <a href="https://github.com/mar10/fancytree/wiki#dynamic-options">dynamic options</a>.
[Added] New method node.visitSiblings()
[Added] #730 ext-persist option expandOpts
is passed to setExpanded()
Allows to suppress animation or event generation.
Changelog
2.22.5 / 2017-05-11
Changelog
2.22.4 / 2017-05-06
Changelog
2.22.3 / 2017-05-05