Migration to Newer Versions

6.3 -> 6.4

1) In v6.4 the editing property of the Tree API has been renamed to editable. The new name brings more clarity and precisely describes the actual functionality.

2) The isFolder property is deprecated. Instead of it, you can set the icon property in the configuration object of a tree item to render a tree item as a custom folder.

var tree = new dhx.Tree("tree", {
            "value": "Books",
            "id": "Books",
            "opened": true,
            "items": [
                    "value": "Lawrence Block",
                    "id": "Lawrence Block",
                    "icon": {                         "folder": "fas fa-book", 
                        "openFolder": "fas fa-book-open", 
                        "file": "fas fa-file" 

6.2 -> 6.3

In version 6.3 some methods and events of Tree have been renamed in order to avoid confusion and misunderstanding due to inconsistency between the name and functionality.

The list of renamed methods and events:

Up to version 6.2From version 6.3
tree.events.on("itemContextMenu", function(){})tree.events.on("itemRightClick", function(){})
Back to top