PDA

View Full Version : [SOLVED] How to 'check' a tree panel node



nromanel
15 Nov 2009, 1:29 PM
Hi There,

I have a tree panel this is loaded with nodes unchecked {checked: false}
Is there a funciton that will allow me to check the node after it has been loaded?

Something to the effect:
myNode.setValue(true);

I can change the attribute value
myNode.attributes.checked = true

But the checkbox doesn't change.

Any thoughts?

Thanks!

nromanel
15 Nov 2009, 1:55 PM
Apologies... Found it

myNode.getUI().toggleCheck(true);