Skip to content

Slow preformance on expand and select checkboxes #604

Open
@mojo2405

Description

@mojo2405

Hi,

I know there are ALOT of posts related to this issue but I still didn't find a proper answer for this problem.
I'm using this (GREAT ! ) module with nodes list ~10K .
When trying to select a checkbox with a list of >1K - the system is lagging.
In addition , using treeModel.expandAll() - is also lagging.
Also programically using those lines are codes are showing poor preformance :

selectAllNodes() {
        const firstNode = this.tree.treeModel.getFirstRoot();
        firstNode.setIsSelected(true);
    }

    deselectAllNodes() {
        const firstNode = this.tree.treeModel.getFirstRoot();
        firstNode.setIsSelected(false);
    }

It is not clear if there is some kind of fix for those problems in the near future (or not..).

Plunker :
https://plnkr.co/edit/yYRiJtGmpvG49JOvLw2m?p=info

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions