Archive for July, 2008

jsTree 0.6.5

Wednesday, July 16th, 2008

Changes in this version:

  • tree now allows for some node sizing (see demo)
  • fixed bug when created nodes did not have the leaf class (by addwin)
  • optimized rtl position and images
  • fixed changing focus when closing focused node (by Karf)
  • fixed before- callbacks parameters (by Colin)
  • fixed dragging position (by Karf)
  • returned optional path parameter (by Karf)
  • added ondblclk callback, which defaults to toggle and then select node (by Arno)
  • tree object is passed as final argument in every callback

Still no time to finish the documentation – I hope I will get round to it soon.

jsTree 0.6

Tuesday, July 1st, 2008

Version 0.6 is finally out, but without the new examples and new documentation – they will be out in a few days.
Changes in this version include:

  • added multiple selection with move & delete (use Ctrl – and “multiple : true” in the settings object)
  • added basic rtl support (user opinions?)
  • added getJSON – return the tree as an object
  • added drag & drop between trees with correct marker placement
  • added cookie support with definable prefix and options – default is false
  • added animation support (slideUp/slideDown) – specify duration (disabled for msie 6 – slow)
  • added insertAt option for creating nodes (‘top’ or ‘bottom’)
  • optimized jQuery selectors
  • added cut/copy/paste + oncopy callback
  • added error callback – attach custom function to errors
  • added before handlers
  • optimized css, added ‘leaf’ class
  • added if selected node is within closed parent – select parent
  • added CSS solution when dragging large sets – all inner nodes are closed while dragging
  • added solid background color option (not white) – set background color on “li.last”, “.tree”
  • updated listen plugin
  • updated sarissa