Skip to Content
avatar image
Former Member

Trouble in Tree element

Dear All:

I've created a tree node.

In a action after I update some values, I reconstructed the tree node.

That means I do context invalidate first and create many elements in it

Now my question is when I reconstructed the node, whichever element on the tree in view,the tree will expand all.

I just want to expand the node which one i click.

Did anyone face the same problem?

Any hint would be help, thanks.

Allen

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Sep 22, 2009 at 11:00 AM

    hi Allen,

    Is the expanded property of the tree bound to an attribute?

    Create this attribute directly under the tree node.

    Set it to true/false depending on the node selected.

    Add comment
    10|10000 characters needed characters exceeded