I have a jsTree, built dynamically, that allows the user to select whatever nodes he chooses.
Now i'm trying to make this tree readonly so that other users can see the information without altering it.
All examples i find are about disabling a specific node...
My question is: Is there a way to define all the checkboxes on the tree to readonly?
Code being used:
jQuery.noConflict();
jQuery(
function() {
jQuery("#divTree").jstree(
{
"plugins": ["themes", "json_data", "checkbox", "sort", "ui", "real_checkboxes"],
json_data: { data: data }
}
);
}
);