cancel
Showing results for 
Search instead for 
Did you mean: 

How to use tree UI in table dynamically

Former Member
0 Kudos

Hi ALL,I have to created an application using table is which each cell of table contains Input Field. So that on runtime on any cell data can be inserted.

But now I want to use tree control in that table input control.

I have one main attribute i.e. Project Name. With various details of it like Project task, project user, start & end date also in attribute form.

In tree format I want to make Project name as parent and its details as child.

Parent column shud be in different column of table and its details in their respective table columns.

How can this are achieved in table, as tree parents and childu2019s attr r displayed in same column but I want parent in its column and child in their respective table column.

Also dynamically add more child attributes to the parent attribute.

Project Name ! Project Task ! Project User ! Start Date ! End Date

My SAP -> ! ! ! !

! Task1 ! abs ! 06.02.2009 ! 10.02.2009

If anybody knows how to achieve this using tree in table plz reply.

Thanx in advance

Regards:

hanif

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

closing

Former Member
0 Kudos

closing

Former Member
0 Kudos

closing thread

sanyev
Active Participant
0 Kudos

Hi Shaikh,

Here is a nice tutorial about tree in a table [here|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/user-interface-technology/wd%20java/wdjava%20archive/integration%20of%20a%20tree%20structure%20in%20a%20web%20dynpro%20table.pdf].

You can also go through the wiki pages. [/docs/DOC-8061#31 [original link is broken]].

If your requirement is other than the one given in the tutorial do let me know. Your table will be bound to a context. The data in the context will be shown in the Hierarchical Table. Dynamically adding child elements is just adding child elements in your context. It will automatically be reflected in the table.

Let me know if you need more information.

Sanyev

Former Member
0 Kudos

Hi sanjeev thanx for reply. Well I have seen the pdfu2019s already but I am not the real stuff which I want. Basically I have binded the table to the context consisting 50 rows and each cell of the table is having Input field control so as to create a excel type of form in this webdynpro iView.

My requirement is to a workbench in which on each OnEnter action control shud go frm one cell to other or frm one row to other one.

I hav to make an application like MS Project Server 2007 if u hav seen.

Plz reply ASAP if u knows how to resolve this.

Waiting anxiously.

Regards:

hanif

sanyev
Active Participant
0 Kudos

Hi Shaikh,

I have replyed to your other post. let me know if that helps.

[https://www.sdn.sap.com/irj/scn/profile?userid=3878822]

Regards,

Sanyev