Releases: mar10/fancytree
Releases · mar10/fancytree
v2.22.0
- [Added] ext-dnd5 now part of standard distribution
- [Added] #693 ext-dnd/dnd5: configurable drop marker offset
- [Added] #616 ext-wide: configurable left padding
- [Added] New method $.ui.fancytree.evalOption()
- [Improved] #601 ext-filter: improve performance (don't render hidden nodes)
- [Improved] ext-contextMenu: disable keyboard while popup is open and restore focus
- [Improved] #701 ext-hotkeys: Prevent default behavior on hot key combination
- [Improved] #708 speedup improvement for addChildren
- [Fixed] #680 ext-dnd5: top level nodes not draggable
- [Fixed] #681 ext-table: exception when a lazy node has
children: []
- [Fixed] #699 ext-dnd5: Icon remains after dnd is cancelled
- [Fixed] #702 $.ui.fancytree.getNode(jQuery)' for jQuery v3.x
- [Fixed] #706 Fix DND where fancytree-title span is not a direct child due to custom layouts
- [Fixed] #712 When clicking in a scrolled tree for the first time, focus is not set properly
- [Fixed] #716 ext-wide: animation 'jumps' (jQuery UI 1.12)
- [Fixed] #717, #719 expand/collapse shows displaced child nodes when scrolled (jQuery UI 1.12)
- Update demos to jQuery 3.2.1 / jQuery UI 1.12.1
v2.21.0
- [Added] New extension 'ext-dnd5' for native HTML5 drag'n'drop support
- [Added]
rtl
option for right-to-left script support - [Added] Add $.ui.fancytree.overrideMethod()
- [Added] hook
treeSetOption
allows extensions to update on option changes - [Changed] standard CSS no longer defines
overflow: auto
for the container.
If the tree container has a fixed height,overflow: auto
oroverflow: scroll
should be added to make it scrollable.
(Otherwise this always would be the scroll parent for ext-dnd5.) - [Improved] better support for initializing from embedded JSON using the
data-type="json"
attribute - [Fixed] corner case of #658 when ext-edit is loaded, but inactive
- [Fixed] #396 Don't load 'loading.gif' for glyph skins
- [Fixed] #675 ext-table: node.render(false) puts first node at end
v2.20.0
- [Added] #419
modifyChild
event. This event is also a good place to
implement auto sorting (#559) - [Added] #419 node.triggerModifyChild() and node.triggerModify()
- [Added] #595 add custom node filter to
generateFormElements()
- [Added] #610
tree.tooltip
option allows automatic or custom tooltips - [Added] #620 improved tooltip escaping to allow newlines
- [DEPRECATED]
removeNode
event. Listen formodifyChild
with operation
'remove' instead (which is fired on the parent). - [Improved] ThemeRoller theme
- [Improved] ext-filter
- #297 add filter option 'hideExpanders' to remove expanders if all child
nodes are hidden by filter - Filter options and the
opts
argument offilterNodes()
/filterBranches()
have been unified. - [Fixed] #230 themeroller theme compatible with ext-filter
- [Fixed] #528 autoCollapse option blocks filter's autoExpand option
- [Fixed] #529 Filter: Mark matching nodes even if parent was matched in branch mode
- [Fixed] #643 Exceptions in ext-filter if expression contains special chars
- [Fixed] #658 ext-filter does not work with ext-edit
editCreateNode()
- #297 add filter option 'hideExpanders' to remove expanders if all child
- [Improved] #656 WAI-ARIA support
- Set focus to first node on first tab-in
- Support [home] and [end] keys
- Set aria-activedescendant on container to active ID
- Set aria-multiselectable on container if selectMode != 1
- Set aria-treeitem, -selected, -expanded, on title span instead
<li>
- [Fixed] #576
loadKeyPath()
sometimes gets the root wrong - [Fixed] #615 Drag & drop helper icons lose indentation with table extension
- [Fixed] #632 Tabbing is not working if there is an anchor tag in treeview
- [Fixed] #644 New nodes created with ext-edit, are hidden in filtered trees
- [Fixed] #647 ext-table: tree.render(true) does not discard existing markup
- [Fixed] #659 handling of function keys, when quicksearch is on
- Use QUnit 2.0
v2.19.0
- [Added] #607 tree.enableUpdate() to temporarily disable rendering to improve
performance on bulk updates - [Added] modifier class
.fancytree-connectors
to be set on container
Note: Experimental! Not required for skin-xp and not compatible with ext-table - [Added] #623 ext-edit:
data.originalEvent
is now passed tobeforeClose
- [Fixed] #604 Set
source
option does not update tree - [Fixed] #609 node.load(true); doesn't maintain expanded
- [Fixed] #621 Cannot focus embedded input controls
- [Improved] #611 Keyboard navigation honors autoScroll option
- Extensions inherit main version number
v2.18.0
v2.17.0
- [Added]
node.addClass()
,.removeClass()
, and.toggleClass()
- [Added] ext-filter: matcher-callback for
tree.filterNodes()
may now return
"branch"
and"skip"
- [Added] ext-filter: new option
nodata
allows to configure a status node for
empty results - [Added]
digits
argument tonode.getIndexHier(separator, digits)
. - [Added] tree option
.tabindex
, default is "0". Pass "" to resolve #577. - [DEPRECATED] tree option
.tabbable
. Use.tabindex
instead - [Added] New option
mode='firstChild'
fornode.moveTo()
- [Added] New option
digits=<int>
fornode.getIndexHier()
- [Fixed] ext-filter: branch mode honors
autoExpand: true
- [Fixed] #584: aria-labelledby ids not unique
- Update to jQuery UI 1.11.4
v2.16.1
v2.16.0
- [Added] ext-clones: new method node.setRefKey(refKey)
- [Added] modifier class
.fancytree-fade-expander
to be set on container - [Added] ext-dnd:
.dragExpand()
callback to prevent auto-expand - [Improved] load error reporting
- [Improved] bootstrap theme icons and style (samples use bootstrap 3.3)
- [Improved] status nodes don't have icons
- [Improved] pass data argument to
source
callback - [Improved] Handle exceptions inside
postProcess
- [Improved] #568 ext-dnd: Auto-expanding of collapsed nodes should also work
when dropping is not allowed - [Improved] #567 ext-dnd: fix revert position
- [Improved] #565 ext-dnd: fix intermediate display of wrong icon (sending 'over' after 'enter')
- [Fixed] #569 node.navigate does not return a Promise object
- [Fixed] #563
tree.reactivate(false)
sets fancytree-treefocus andtree.reactivate(true)
doesn't set keyboard focus - [Fixed] #562 Node span tag leaks outside table cell
- [Fixed] #526 tree.setFocus() does not set keyboard focus
- Updated to jQuery 1.12.1
- Updated grunt devDependencies
- Add jQuery 3.0 beta to test suite
- Added LICENSE.txt to dist
- Commit details.
v2.15.0
- [Changed] Renamed class
fancytree-statusnode-wait
tofancytree-statusnode-loading
- [Added] new event
renderStatusColumns
- [Deprecated] ext-table option
customStatus
. UserenderStatusColumns
instead - [Added] new event
clickPaging
- [Added] new mode
nodata
for use with node.setStatus() - [Added] new method
node.addPagingNode()
- [Added] new method
node.replaceWith()
- [Added] new type 'paging' for
node.statusNodeType
- [Added] #542 new method
node.getSelectedNodes()
- [Added] Helper class
glyphicon-spin
to allow rotating loading icon with bootstrap - [Improved] #356: serialize load requests
- [Improved] #538: Be more robust if site css defines custom li:before
- [Improved] ext-table: Define table row templates in
<tbody>
- [Improved] ext-table:
<thead>
is now optional if<tbody>
contains<td>
s - Commit details.
v2.14.0
- [CHANGED] #519 Refactored custom icon configuration:
(see also the theming tutorial)- [Added]
options.icon
option/callback.
Valid values are true, false, a string containing a class name or image
url, or a callback returning that. - [Changed]
node.icon
option. Valid values are true, false, or a string
containing a class name or image url.
This option existed before, but was stored in thenode.data.icon
namespace,
and did not accept class names. - [Deprecated]
options.iconClass
callback: useoptions.icon
instead - [Deprecated]
options.icons
: useoptions.icon
instead - [Deprecated]
node.data.iconclass
option: usenode.icon
instead - [Deprecated]
node.data.icon
option: usenode.icon
instead
- [Added]
- [Added]
tree.clear()
method. - [Added] #520 ext-persist: new event
beforeRestore
- [Fixed] #533 table-ext: nodeSetExpanded triggers redundant events
- Commit details.