cancel
Showing results for 
Search instead for 
Did you mean: 

Table -Model - Binding

Former Member
0 Kudos

Hi all,

I have one table but I have two model Nodes.

And I want to show all the coloumns specified in that two models in a single table continuously.

How to do that?Any suggestions.At a time i am able to bind only one model node to my Table UI.

Thankx in advance.

Regards,

Karthick.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Karthick,

There is one round about way of doing that which may not be the best way to do.

What you can do is create one structure with all the fields from both the nodes. Populate the new structure with the values from both the nodes.

Map the new structure to your table.

Give it a try and see if it works.

Regards

Prakash

Former Member
0 Kudos

Hi Prakash,

Its working fine now. thanks for your valuable suggestion.

Regards,

Karthick

Former Member
0 Kudos

Hi all,

Thank you for your valuable suggestions.

Regards,

Karthick

Answers (3)

Answers (3)

Former Member
0 Kudos

Karthick,

First option: NodeA is parent of NodeB. Then no problem at all -- bind everything as is, just make NodeB non-singleton. Select as table data source NodeA.

Second option: NodeA and NodeB are independent. Then create NodeC and copy elements data back and force. Bind table to NodeC.

Valery Silaev

EPAM Systems

http://www.netweaverteam.com/

former_member182372
Active Contributor
0 Kudos

Hello Karthick,

Create value node and 2 model nodes inside with same types you have. Create supply function for value node and copy initial model elements. Bind table to value node.

The only problem here - how to merge elements. Let`s say in one node we have 3 elements and in another - 5. How many elements should contain value node. But this question is more functional than technical.

Best regards, Maksim Rashchynski

Former Member
0 Kudos

Hi,

AFAIk i dont think it is possible to bind two nodes to a single table.

Regards,

Vijith