tunpishuang tunpishuang - 1 year ago 211
Javascript Question

can jsTree use radio check

i know there is a plugin for jsTree named jquery.tree.checkbox.js.
that make the tree node multi checkable.

i just wondered if there is a plugin to raido check the tree node?
or how can i modify jquery.tree.checkbox.js to achieve that?

Answer Source

This can simply be done by adding the attribute

            multiple : false

Inside the configuration of the tree. This will make it impossible to choose multiple entries.