on 06-18-2007 1:58 PM
Dear Developers,
I have discovered that the Tree UIElement visual behavior is strange. Is there a way to change this behavior in my coding (?) :
Assuming you have such a tree (fully expanded by the user):
A
--B
--C
---D
if you unexpand A and expand again A, then you get :(STRANGE_OUTPUT)
A
--B
--C
instead of (NORMAL_OUTPUT)
A
--B
--C
---D
In most widget tookits (for the web or for normal GUIs like), the NORMAL_OUTPUT is expected.
Any idea?
Regards,
Olivier MATT
Hi Olivier,
Have you bound the "expanded"-property of the nodes in the first level?
You should create a context attribute in the context nodes, which can hold the expanded state. Then you can define the initial state and you can keep the expanded state there, even if the parent node is collapsed.
Ciao, Regina
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Oliver,
According to <a href="http://help.sap.com/saphelp_nw04s/helpdata/en/c0/088b41b4b3b25fe10000000a1550b0/frameset.htm">this</a> default value for "expanded" property is "false", so, if the property is not bound to context attribute (as Regina suggested) it is going to be collapsed and state is not stored between user iteractions.
Best regards, Maksim Rashchynski.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.