cancel
Showing results for 
Search instead for 
Did you mean: 

Tree UI item element

Former Member
0 Kudos

wht is the difference between TreeItemType and TreeNodeType

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

Hi shant..

<i><b>TreeItemType --> TreeItemType elements cannot have children. Therefore, they are always displayed as leaves. They are used when it is decided at design time that the corresponding node does not have children. When using TreeNodeType elements, the decision of whether to use children is dynamically made at runtime.

TreeNodeType-->if you use treenode type you have children for tht node</b>.</i>

For more details..

Pls check this..

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/05c7e2ae-0a01-0010-ca98-fe4...

http://help.sap.com/saphelp_erp2005/helpdata/en/b3/a6df3d0eb8af5ee10000000a114084/content.htm

For Treenodetype:

http://help.sap.com/saphelp_erp2005/helpdata/en/d4/69ea3d5506fb34e10000000a114084/content.htm

URs GS

Former Member
0 Kudos

Hi Shanto,

The only difference between the TreeNodeType element and the

TreeltemType element is that the tree node type TreeNodeType can have children, whereas the type TreeltemType can display the leaves of a tree, but cannot have children.

For more information : see page 268 of this <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/9214b1e5-0601-0010-fdb0-ec32d43b06e0">link</a>.

Regards,

Prabhakar.

Former Member
0 Kudos

<b>Hi Shanto Aloor

<u>Tree Node Type</u>

<i>The TreeNodeType object describes a tree node type that, can contain additional tree nodes and expanded further. They represent the nodes of the tree.</i>

<u>Tree Item Type</u>

<i>The TreeItemType object describes a tree node type that, cannot contain additional tree nodes and cannot expanded further. They represent the leaves of the Tree</i>

Regards

Chandran S</b>

Former Member
0 Kudos

Hi

The TreeNodeType object describes a tree node type that can contain additional tree nodes.They represent the nodes of the tree

The TreeItemType object describes a tree node type that cannot contain additional tree nodes. They represent the leaves of the tree

Regards

Fahad Hamsa

Former Member
0 Kudos

Hi shanto,

Tree item type

A TreeItemType describes a Tree node type that, unlike the TreeNodeType, cannot take any further nodes, they are the leaves of the tree.

Tree node type

A TreeNodeType describes a Tree node type that, unlike the TreeItemType, can take further nodes; these are the leaves of the tree.