Is there any way to reserve the current Level state (Expansion/Collapse of Nodes) of the DBTree View bean? “selectionPath” property will help if the user selects some of nodes. If the user only expanded the Tree by clicking “+” and collapsed some of the nodes by clicking “-”, Then, How can we reserver the current state, in this case?
Have you looked at the functions of the bean? There ought to be a function called isExpanded or something similar (don’t have Servoy open at the moment).
come to think of it: This function might have been added to the bean for 3.5.1…
DBTreeView shipped in Servoy3.5.1 is auto refreshing in nature. You don’t even to refresh the tree explicitly, just the change the record in the underlying table on which the DBTreeView is based upon.
Thanks Paul.
It reduces lots of work…And also lots of head aches.