atatanasov / gijgo

Gijgo - Free Javascript Controls
http://gijgo.com
MIT License
475 stars 187 forks source link

update collapse selectors to only iterate expanded nodes #704

Closed kpeters-seagull closed 1 year ago

kpeters-seagull commented 1 year ago

In trees with a large number of nodes, the collapse all method was very slow (because it was iterating every single node). This should speed that up by only iterating open nodes.