Skip to Content
0
Former Member
Nov 04, 2009 at 04:30 AM

[TreeNodeType] Keeping expended items (children) when tree reload

25 Views

Hi all,

My page with context is:

-TREE (node)

---TREENODE (node; data is load by Supply Function)

-


CHILDNODE (node; data is load by Supply Function)

-


name (attribute)

-


value (attribute)

I mapped this context into TREE as below:

-TREE (element type: TREE; dataSource : TREE)

---TNT_NODE (element type: TreeNodeType; dataSource: TREENODE; hasChildren: TRUE )

---TNT_CHILDNODE (element type: TreeNodeType; dataSource: CHILDNODE; hasChildren: FALSE)

It runs ok, but my request is:

Keep items (children) of TNT_NODE expand (open) when tree reload or Load and expand current node automatically when tree is reloaded.

Please give me your advice.

Regards,

Ken