The checkbox plugin makes multiselection possible using three-state checkboxes.
No configuration possible
The checkbox plugin maps UI's get_selected function to its own get_checked function and overwrites the UI reselect function. It also disables the select_node, deselect_node and deselect_all functions.
Inserts the checkbox icons on the node. Used internally.
mixed node
This can be a DOM node, jQuery node or selector pointing to an element within the tree.
Repairs the checkbox state inside the node. Used internally.
mixed node
This can be a DOM node, jQuery node or selector pointing to an element within the tree.
Changes the state of a node. Used mostly internally - you'd be better off using the check_node and uncheck_node functions. Triggers an event.
mixed node
This can be a DOM node, jQuery node or selector pointing to an element within the tree.
boolean uncheck
If set to true the node is unchecked, if set to false the node is checked, otherwise - the state is toggled.
Checks a node.
mixed node
This can be a DOM node, jQuery node or selector pointing to an element within the tree.
Unchecks a node.
mixed node
This can be a DOM node, jQuery node or selector pointing to an element within the tree.
Checks all nodes.
Unchecks all nodes.
Checks if a node is checked. Returns boolean.
mixed node
This can be a DOM node, jQuery node or selector pointing to an element within the tree.
Both functions return jQuery collections.
mixed context
This can be a DOM node, jQuery node or selector pointing to an element within the tree. If specified only nodes inside the specified context are returned, otherwise the whole tree is searched.
Show or hide the checkbox icons.