on 10-22-2007 6:21 AM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks a lot for your valuable answeres
Regards
abhay
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.