hummingbird-dev / hummingbird-treeview

A powerful and fast jQuery treeview plugin
MIT License
62 stars 23 forks source link

After disable end nodes its affect parent nodes incorrect #21

Open xsilver opened 3 years ago

xsilver commented 3 years ago

изображение Hi! When I added simple code to disable each 2/3 items, i got problem with parent items. Some root items marked gray, but they still contain enabled items. Also when i enable items back in same way, signs "+" or "-" (to expand/collapse) staying gray.

hummingbird-dev commented 3 years ago

Hi, Thanks for reporting on that. I will have a look into the issue and come back to you.

hummingbird-dev commented 3 years ago

Hi, I fixed that bug. Please have a look at Disable/Enable Test If you hover a node, press "d" on the keyboard to disable that node, and press "e" to enable it again. Although that bug is fixed I observed another one, i.e. in some cases there is a wrong "indeterminate" state set. It's deep in the code, I need some time to check that.

hummingbird-dev commented 3 years ago

Added a bugfix on disable/enable functionality. I think it's now working as expected.