Skip to content

Releases: mar10/fancytree

v2.21.0

15 Jan 17:22
Compare
Choose a tag to compare
  • [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 or overflow: 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

Commit details.

v2.20.0

13 Nov 16:49
Compare
Choose a tag to compare
  • [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 for modifyChild 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 of filterNodes() / 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()
  • [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

Commit details.

v2.19.0

11 Aug 13:51
Compare
Choose a tag to compare
  • [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 to beforeClose
  • [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

Commit details.

v2.18.0

02 May 17:38
Compare
Choose a tag to compare
  • [Added] #586 node.discardMarkup() (useful in the collapsed event)
  • [Added] #171 new option .escapeTitles
  • [Added] new callback .enhanceTitle()
  • [Fixed] #515 Html tags included in filter results
  • [Fixed] #593 ext-dnd revert position fails for tables

Commit details.

v2.17.0

11 Apr 18:11
Compare
Choose a tag to compare
  • [Added] node.addClass(), .removeClass(), and .toggleClass()
  • [Added] ext-filter: matcher-callback for tree.filterNodes() may now return
    "branch" and "skip"
  • [Added] ext-filter: new optionnodata allows to configure a status node for
    empty results
  • [Added] digits argument to node.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' for node.moveTo()
  • [Added] New option digits=<int> for node.getIndexHier()
  • [Fixed] ext-filter: branch mode honors autoExpand: true
  • [Fixed] #584: aria-labelledby ids not unique
  • Update to jQuery UI 1.11.4

Commit details.

v2.16.1

18 Mar 21:16
Compare
Choose a tag to compare
  • [Added] ext-glyph: new icon for 'nodata' status nodes
  • [Fixed] #575 missing loading icon in non-bootstrap themes.

    Glyph themes now display status images in icon span (was expander span before).
  • Commit details.

v2.16.0

16 Mar 07:10
Compare
Choose a tag to compare
  • [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 and tree.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

11 Jan 20:44
Compare
Choose a tag to compare
  • [Changed] Renamed class fancytree-statusnode-wait to fancytree-statusnode-loading
  • [Added] new event renderStatusColumns
  • [Deprecated] ext-table option customStatus. Use renderStatusColumns 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

19 Dec 22:24
Compare
Choose a tag to compare
  • [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 the node.data.icon namespace,
      and did not accept class names.
    • [Deprecated] options.iconClass callback: use options.icon instead
    • [Deprecated] options.icons: use options.icon instead
    • [Deprecated] node.data.iconclass option: use node.icon instead
    • [Deprecated] node.data.icon option: use node.icon instead
  • [Added] tree.clear() method.
  • [Added] #520 ext-persist: new event beforeRestore
  • [Fixed] #533 table-ext: nodeSetExpanded triggers redundant events
  • Commit details.

v2.13.0

16 Nov 06:33
Compare
Choose a tag to compare
  • [Changed] If a node is initalized as lazy: true, and children: [],
    treat it as 'loaded leaf node'.

    This is consistent with a lazy node that has no children property at all (i.e.
    undefined). This would issue a lazyLoad event and a resopnse of [] would
    mark the node as leaf node.
  • [Added] new function $.ui.fancytree.getTree()
  • [Added] ext-filter methods node.isMatched() and tree.isFilterActive()
  • [Added] CSS for ext-childcounter badges is now part of the standard themes
  • [Added] ext-childcounter method node.updateCounter()`
  • [Fixed] #507 data-hideCheckbox="true"
  • [Fixed] #513 activeVisible option does not work on init
  • [Fixed] #516 ExtPersist requires cookie.js even when not using cookies
  • Commit details.