PDA

View Full Version : Toggle Specific Nodes of a checkbox TreePanel



mbgold78
8 Jul 2010, 12:53 PM
Hello

I would like toggle any particular node of a treepanels checkbox on or off. Meaning this node is checkable or not, independant of the checkability of any other node.

the only workaround I could find, is to set only the leaf nodes checkable(setCheckNodes.LEAF), and if its not selectable use method setLeaf(node,false) on treepanel. But its ugly because the icon is the root icon. I would prefer a disable or the checkbox disappears.

Any suggestions?

Regards
Mike

mbgold78
9 Jul 2010, 8:00 AM
any suggestions?