Slow preformance on expand and select checkboxes
See original GitHub issueHi,
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…).
Issue Analytics
- State:
- Created 5 years ago
- Comments:22 (4 by maintainers)
Top Results From Across the Web
Many checkbox elements "slows" down Safari - Stack Overflow
When I have many type="checkbox" elements on a page, interacting with with a text input becomes very slow and laggy. This seems much...
Read more >Enhance Your Checkboxes with Conditional Formatting in Excel
Improve your checklists by adding conditional formatting that changes text when checkboxes are checked or unchecked.
Read more >Performance and synchronization problems when you work ...
Slow Outlook performance or random hangs. ... Click to clear the Download shared folders check box. Click OK two times. Click Next, click...
Read more >Checkbox marks become slow if clicked multiple times quickly
Problem. This document will cover the scenario when assigning permissions would become a slow task when you click several times on a checkbox...
Read more >Slow rendering - Android Developers
If your app suffers from slow UI rendering, then the system is ... frame is drawn and color codes each frame to highlight...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hello I don’t know if it helps but also with huge trees expandAll and collapseAll can be quite fast with some drawbacks which @adamkleingit may be able to find and explain.
One problem is that no event is fired for the expand and collapse but this may not be a problem for you
I know this thread is old but I run into same issue. Here’s snippet for checkbox performance issue (Select all) that you can pass with options I managed to reduce delay from 5-10 sec to ~160ms (I have ~2.5k elements in tree).