cancel
Showing results for 
Search instead for 
Did you mean: 

Tree by nesting table column

Former Member
0 Kudos

Hi

I have trying to use <b>Tree by nesting table column</b>. But in the standard project ( In SDN ) , a file is added in file form according to hierarichy of table like

"1000", "CATEGORY", "Books", "Article categorie books", "20", null, "ROOT" },

{ "1001", "ARTICLEGROUP", "Fiction Books", "Article group fiction books", "12", null, "1000" },

{ "1002", "ARTICLE", "The Lord of the Rings", "Trilogy, hardcover", "4", "yes", "1001" }, ...............................................................

but in my case I have a table and I dont want to make a file structure like that .

How could i implement it ?

Regards

Abhay

Accepted Solutions (1)

Accepted Solutions (1)

former_member485701
Active Participant
0 Kudos

Hi,

For making use of Tree By Nesting Column, You can use following steps:-

I assume that you have created a Table in Future, If not Please let me know,

(1) Create a node in the context say "TableNode".

(2) Inside this create all the attributes for column and one recursive node say "ChildNode"

(3) In the Property of ChildNode set repeatedNode to "TableNode".

(4) Create 3 boolean attributes in the context of "TableNode".

(a) isLeaf

(b) expanded

(c) childrenLoaded

Now context is done.

Come to the Table UI Element.

Add your Tree By nesting column. and bind it's following property's with TableNode attribute's

(a) isLeaf

(b) expanded

(c) childrenLoaded

Now you have to populate your table data.

and implement onLoadChildren Method.

Your work will be done.

For any queries feel free to ask.

Regards,

Praveen

Answers (2)

Answers (2)

Former Member
0 Kudos

Thanks a lot for your valuable answeres

Regards

abhay

Former Member
0 Kudos

Hi All

I dont know what is use of these three different properties

in Tree by nesting table column also what is difference b/w expanded and children loaded.

a) isLeaf

(b) expanded

(c)childrenLoaded

Regards

Abhay

Former Member
0 Kudos

1. childrenLoaded

childrenLoaded

Determines whether the lower-level nodes are loaded.

2. expanded

Determines whether a hierarchy node is expanded.

3. isLeaf

Flags a node element as a leaf. The value true indicates that no other subelements exist.

http://help.sap.com/saphelp_nw70/helpdata/en/59/a98b411fb4b05fe10000000a1550b0/frameset.htm