changelogs.md


react-component/tree

Repository  -  API  -  Source

1.11.5

April 19, 2018
  • add onClick & onDoubleClick for node click event
  • add related className in treeNode
  • fix drag into another tree will throw exception

1.10.0

April 17, 2018
  • onCheck arguments provide nativeEvent
  • onSelect arguments provide nativeEvent
  • onExpand arguments provide nativeEvent

1.9.0

April 9, 2018
  • adjust dragable logic to make drag more smooth
  • fix loadData trigger twice when expand node
  • add icon prop on Tree
  • fix check by prop not work on disabled node

1.8.0

March 29, 2018
  • code refactor and optimize logic
  • add disabled API
  • add icon API

1.4.0

October 24, 2016
  • add onDragEnd API and fix related issues.

1.3.0

April 15, 2016
  • make autoExpandParent also work in controlled mode.(Before just work in uncontrolled mode)
  • change onExpand params
    • old: function(node, expanded, expandedKeys)
    • new: function(expandedKeys, {expanded: bool, node})

1.2.1

April 8, 2016
  • remove halfCheckedKeys api, and change checkedKeys to an object on setting checkStrictly.

1.2.0

April 6, 2016
  • improve performance.
  • add checkStrictly/halfCheckedKeys api.

1.1.0

January 25, 2016
  • change onDrop params (from originExpandedKeys to rawExpandedKeys)

1.0

January 15, 2016
  • change onSelect/onCheck params

0.26

January 13, 2016
  • change drag api (from onTreeXX to onXX)

0.23

December 31, 2015
  • change onDataLoaded api to loadData

0.22

December 30, 2015
  • add expandedKeys/onExpand/filterTreeNode api

0.21

December 25, 2015
  • add onMouseEnter/onMouseLeave api

0.20.0

December 1, 2015
  • add draggable feature #5

0.18.0

October 23, 2015
  • add contextmenu feature #5

0.17.0

October 14, 2015
  • add dynamic feature #4

0.9.5

May 26, 2015
  • support checkbox