cancel
Showing results for 
Search instead for 
Did you mean: 

creating table inside a table

Former Member
0 Kudos

Hi:

I would like to create a table instead a table using Web Dynpro,does any know how to do it.

Here is what I wanna accomplish.

I need to list Orders with Items Completely Delivered and Items which is wait stage.

e.g.

Order1 Order1Desc Item1-Delivered

Item2-Partially delivered

Order2 Order2Desc Item1-Develiverd

Item2-Delivered

Thanks,

Praveen

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Ravi:

I created a table but I didn't see a way to assign my column to Tree Type.

Cheers,

PKK.

Former Member
0 Kudos

Praveen,

Mail me to vsilaev AT gmail DOT com and I'll send you sample code.

Also, regarding your another post you may get the following structure, just play a bit with Visibility of certain cell editors:


+-Product1     ....          ..... [VendorZ]  
  +-- P1_Item1 .... StatusA  ..... 
  +-- P1_Item2 .... StatusB  .....
  +-- P1_ItemL .... StatusX  .....
+-Product2     ....          ..... [VendorS]
  +-- P2_Item1 .... StatusA  .....
  +-- P2_Item2 .... StatusB  .....
  +-- P2_ItemM .... StatusX  .....
+-ProductN     ....          ..... [VendorD]
  +-- PN_Item1 .... StatusA  .....
  +-- PN_ItemZ .... StatusB  .....
  +-- PN_ItemM .... StatusX  .....

VS

Answers (6)

Answers (6)

Former Member
0 Kudos

By creating TreeByNesting Table column what I am acheiving is

Product1 Item1-Status

Product1 Item2-Status

Product2 Item1-Status

Product2 Item4-Status

but what I wanna acheive is

Product1 Item1-Status

Item2-Status

Product2 Item1-status

Item4-status.

Thanks for your quick response guys.

Praveen.

Former Member
0 Kudos

hi praveen

Well you will have to build a logic inside to achieve it. On child node expansion you can try to add the sub rows dynamically. We havent tried such a scenario. Anyway will see if i can work out a logic for you.

regards

ravi

Former Member
0 Kudos

Hi,

As it announced by Armin, you'll be able to 'nest' tables in upcoming version of NW.

Currently you may consider Table with IWDTreeByNestingTableColumn (smth. like tree-table combo)

VS

Former Member
0 Kudos

Hi Praveen,

Like what Ravi has said that feature is currently not in webdynpro.You can give the order name and order details as 1 table .Give the order name aslink to action to open the second view containing the item details.Hope this helps you.

Regards

Rohit

Former Member
0 Kudos

With the coming feature of table popins, it will be very easy to have tables inside table rows.

Armin

Former Member
0 Kudos

Hi Praveen

You cannot achieve a table within a table. But you will have to use the Tree by nesting in the Table UI. You should then be able to achieve what you are trying.

See the API IWDTreeByNesting for more details.

regards

ravi

Former Member
0 Kudos

Hi Praveen

You will not be able to use a table inside a table. Rather you can use 2 different tables similar to Master/Detail Viewer.

NagaKishore