[solved] programatically unchecking checked tree nodes
I've pored through the documentation and searched the forums with no luck. I'm trying to loop through all of the checked nodes in my tree and uncheck them, but I can't find a function and setting the property doesn't change their appearance in the UI.
Here's why I've been trying:
Anyone get something like this to work?
var a_checked_nodes = page_tree.getChecked("id");
for (var i = 0; i < a_checked_nodes.length; i++)
page_tree.getNodeById(a_checked_nodes[i]).attributes.checked = false;