v1.2.0
Pre-release
Pre-release
This is a major release.
New Features
- New API for select or deselect nodes. Support configuration of single or multi selection mode. you need to apply the view effect after selection in bindView by yourself.
- Add path property in TreeNode to better compare whether TreeNode is equal or not (subsequent methods like resolveNodeByPath may be added)
Bug fixed
No bug fix.
Improvments
-
Improved the features about node ordering.
As
LinkedHashSet
is a Set sorted by order when added, we useLinkedHashSet
instead ofHashSet
to store node ids and it is easy to do sorting of nodes (by order when added) if the data list returned by the node generator is also a LinkedHashSet. Check out our example to learn more.
Other
- Add an example of using TreeView to load a list of local files to the demo app.