erhanfirat / combo-tree

ComboTree is a jQuery Plugin which is a combobox item with tree structured data list and multi/single selection options and more.
MIT License
79 stars 67 forks source link

deselect parent #29

Open marctaule opened 4 years ago

marctaule commented 4 years ago

Hi! I'm using your plugin in one of my websites and it's great! :) I'd like to know if you can help me. When I select a parent, all the children get selected. That's good! But when I deselect one child, the parent is not deselected. I think the parent wouldn't be selected. Is it possible to do that? I attach you a [https://ibb.co/sV8vndk]picture of this problem. I hope you could help me. Thanks!

erhanfirat commented 4 years ago

Hi @marctaule It is great to hear that ComboTree is working for you. I understand your point, and thank you to inform me. I will try to fix it asap. and inform you back. Bests

korkhau commented 2 years ago

Looks like this is not a bug, it is a feature :) Combo-tree acts in a different way in comparison to other tree plugins. it is suitable for some cases to have parent checked when all children are unchecked. @erhanfirat please do not fix this behavior rather create an option to disable it\enable behavior from 1st @marctaule

gssrinivas59 commented 2 years ago

HI,

When I select a parent, all the children get selected. But when I deselect one child, the parent is not deselected. I hope you could help me.

Thanks!

pkshetlie commented 1 year ago

I need this functionnality too thanks

gitvalent commented 2 months ago

This plugin is great!! thank you But this feature is very important to me, please setup a enable /disable parent sync