gijgo
gijgo copied to clipboard
Want a "selectionType: 'none' " to be able to only use checkboxes.
I am using a tree with checkboxes, and I only want checkboxes, not selection of nodes.
I've edited my local copy of the giglio.js to support this functionality. It's a 2 line change.
In gj.tree.methods.displayClickHandler, wrap the call to "select" in a conditional:
if ($tree.data('selectionType') !== 'none') {
gj.tree.methods.select($tree, $node, cascade);
}