Skip to content

Replies

0
Paul
Paul answered on Dec 29, 2008 4:46 PM

the only way I found to do this is by recursively check all the child programmatically.

 

There’s this article in the KB that might help (but it check the parent, if all childs are checked)

 

I did a class that encapsulate that exact behavior, check the parent, it check all the childs, uncheck the child will put the parent to indetermine state, check all child => check the parent.

So I suggest that you make a class that derive from UltraTree and that implement that exact behavior and uses that class in your app.

 

hope it helps

0
Paul
Paul answered on Dec 29, 2008 4:31 PM

 what do you mean by apply? how to check the checkboxes?

If so, get the node and set the checkstate of your UltraTreeNode

0
Paul
Paul answered on Aug 6, 2008 7:36 PM

 Yeah I  found the CheckState to check uncheck the checkbox. 

 I'm having a hard time to find a way to disable a checkbox but with the node still expandable.

0
Paul
Paul answered on Aug 6, 2008 6:47 PM

 thanks, I guess your solution was for a grid.

 

I found the way, I wanted standard and to show checkbox. it was setting the Override->NodeStyle

 

Do you know how I can iterate the checkbox and check them? Can I disable the checkbox also?