gijgo icon indicating copy to clipboard operation
gijgo copied to clipboard

Want a "selectionType: 'none' " to be able to only use checkboxes.

Open Tarpon907 opened this issue 2 years ago • 0 comments

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);
}

Tarpon907 avatar Nov 08 '23 02:11 Tarpon907