Skip to content

Commit

Permalink
[update] what's new for v8.4
Browse files Browse the repository at this point in the history
  • Loading branch information
mafanya23 committed Jul 10, 2024
1 parent 520dd0c commit 577c89f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
8 changes: 6 additions & 2 deletions docs/tree/api/tree_rootid_config.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ description: You can explore the rootId config of Tree in the documentation of t
@signature: {'rootId?: string | number;'}

@example:
const tree = new dhx.Tree("tree_container", {
const tree = new dhx.Tree(null, {
rootId: "root"
});

Expand All @@ -21,7 +21,11 @@ By default, the root element takes the id of a Tree container.

~~~js
const tree = new dhx.Tree("tree_container");
tree.data.getRoot() -> "tree_container"
tree.data.getRoot(); -> "tree_container"
~~~

You should use the `rootId` property, if you render a tree in a layout cell and use the [`autoload`](/tree/api/tree_autoload_config/) option in the Tree configuration object.



@changelog: added in v7.0
4 changes: 2 additions & 2 deletions docs/whatsnew.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Released on July X, 2024
#### Chart

- The ability to [specify a template for showing values for data items on the Pie, Pie3D and Donut charts](chart/customization.md#adding-template-for-percent-values)
- The ability to [add the header/footer for an exported PNG file](/chart/api/export/chart_png_method/)
- The ability to [add the header/footer for an exported PNG/PDF file](/chart/api/export/chart_png_method/)

#### Combobox

Expand All @@ -33,7 +33,7 @@ Released on July X, 2024
#### Grid/TreeGrid

- The ability to [add event handlers to HTML elements of a custom template of Combobox editor items in a column](/grid/api/api_gridcolumn_properties/)
- The ability to [add the header/footer for an exported PNG file](/grid/api/export/grid_png_method/)
- The ability to [add the header/footer for an exported PNG/PDF file](/grid/api/export/grid_png_method/)

#### Toolbar

Expand Down

0 comments on commit 577c89f

Please sign in to comment.