Reserving Level state in DBTree View Bean

Hi all,

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?

Is there any way?

The bean in 3.5 has functions to check if nodes are expanded or not.

Paul

pbakker:
The bean in 3.5 has functions to check if nodes are expanded or not.

Paul

Hi paul,

How can I check a node status(Expanded/Collapsed) Servoy3.5?

Is there any functions to do the above or any technique?

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…

Paul

Geart … :D

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. :wink: