Skip to content

Root Element did not have Treecontroller #205

Open
@badframe

Description

@badframe

Because the Root element Did not have Treecontroller, It is not possible to select it by using "getControllerByNodeId()", and then It is not possible to use "addChild" for root node.

in debugger: (File: tree.service.js)

1. TreeService.prototype.getController = function (id) {
2.        if (this.controllers.has(id)) {
3.            return this.controllers.get(id);
4.        }
5.        return null;
6.    };

dump of "this.controller" (Line2) indicate a list of all nodes in tree with a Treecontroller except the root node!!!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions