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

add feature isolated "selectable" #54

Closed modeverv closed 2 years ago

modeverv commented 2 years ago

this PR offers the feature "isolated selectable". now when parent is set "isSelectable" to false and child set to "isSelectable" to true, parent node's class has been set class to selectable. but I want to set parent's class to according to parent's attribute. so I've made this PR. please check.

data is this. スクリーンショット 2022-10-07 21 01 10 before: (watch Birds element and Birds is "selectable")

https://user-images.githubusercontent.com/115578/194550450-9f3654dd-c1c8-4eb1-8eb9-95bace6b8050.mov

with this PR:

https://user-images.githubusercontent.com/115578/194550517-bda202bc-5313-4222-9e9f-6a7d1514238a.mov

erhanfirat commented 2 years ago

Thanks for all your effort to make combo-tree plugin better.