A even newer revision is available in the SVN, it includes fixes for almost all comments on this post so far, except for the multitree, which needs a lot of work. A new version will be out soon when I’m done with the documentation and examples.
Version 0.7 is out, though not throughly tested – I will keep testing so bear with me and submit any bugs or strange behavior you encounter.
- Native support for async data loading is added (either JSON or XML)
- A new “lock()” function is available to block any user interaction with the tree.
- Customization of various strings used throughout the code (e.g. “New Folder”, “Loading …”) is now possible – you can now pass your own strings and even assign them to a language version.
- There is a new hover_mode setting which forces the tree to change only the hover state and not the focus when using the get_* functions (usually used with keyboard shortcuts).
- The options object is refactored – meaning that your current configs will not be functional!!! I’m sorry for this inconvineince but the options object was getting crowded and messy – now it is divided in groups – you can see a description in the documentation.
- A setting was added so that now multiple selection is either always on, always off, or based on the Ctrl key (also fixed a couple of bugs with multiple selection).
- A onrgtclk callback was added – so now you can display your own menu, and prevent the browser default.
- The optional single-language XML structure is removed!!!. I noticed that nobody used it and it was rather confusing – now the xml structure is the same even if you have, or don’t have language versions.
- Also a few other bugs were fixed.
All of the new stuff is included in the documentation. I’m working on the examples and downloader. I rushed this version out, as I might not be able to publish anything in the upcoming week. Still, I’ll be thankful for any ideas and critics you may have, so any feedback will be highly appreciated.
Thank you for all your ideas and contributions – I tried to include most of it in this version. If I missed a few things – remind me :). Let’s continue improving jsTree.