问题标签 [checkboxtree]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
1 回答
47 浏览

javascript - CheckboxTree,如果我激活它们(选中),树也会关闭

问题在于复选框,如果我激活它们(选中),树也会关闭。但我希望它保持打开状态,直到我选择了所有复选框。因此,当您单击复选框时,它会关闭。

我无法激活复选框。当您单击复选框时,树将关闭。例如,当单击 Item 1.1.3 或 Item 1.2 或 Item 1.1 树时关闭。树必须保持打开状态,当我单击加号或减号时,它应该关闭。