vakata / jstree

jquery tree plugin
http://jstree.com
MIT License
5.15k stars 1.38k forks source link

Checked state not set, when the tie_selection checkbox option is false #2694

Closed LaySoft closed 1 year ago

LaySoft commented 1 year ago

If I set the tie_selection option in checkbox plugin to false, the checkboxes ignores the data-jstree='{"selected":true}' attribute in li elements, not sets the checked state.

How can I solve to set checked state if the tie_selection option is false?

vakata commented 1 year ago

use "checked", not "selected" - when "tie_selection" is false - those two are separate.