cancel
Showing results for 
Search instead for 
Did you mean: 

dynamic table creation

Former Member
0 Kudos

Hi folks,

I have a very special Problem imho.

We want to have a various amount of groups displayed in a row kind of way. In each group is a table with data in it, table content is different in each group.

the context is statically configured in designtime.

letss say we have contracts and in one contract are multiple positions

contract 1..n

|---contractID String

|---amountOfPositions int

|---Postions 1..n

(to be sure to not miss contracts, we create the view dynamically, we don't want 20+ usages)

group cration is easy, table creation causes problems, because as a binding attribute you can only bind the nodeInfo of a node, so in each contract-group we have the same table data bound to the view element. the size or the contractID works perfectly, but the data is equal ineach group...

tableCellEditor.bindText(contractElement.nodePositions().getNodeInfo().getAttribute("value"));

hope you get what I mean

cheers

Stefan

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

If you replace the outer node "contract" by indivdual nodes for each contract, you can bind Table UI elements to the inner node "Positions". The outer nodes can/should be created by code depending on the number of contracts.

Armin