Skip to content

v1.2.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@dingyi222666 dingyi222666 released this 21 Apr 10:39
· 35 commits to main since this release
266a420

This is a major release.

New Features

  1. 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.
  2. 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

  1. Improved the features about node ordering.

    As LinkedHashSet is a Set sorted by order when added, we use LinkedHashSet instead of HashSet 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

  1. Add an example of using TreeView to load a list of local files to the demo app.