cancel
Showing results for 
Search instead for 
Did you mean: 

tab strip data binding

Former Member
0 Kudos

Hi,

i have a tabstrip with a fix numebr of tabs.

in each tab i have a tableview.

in context i have

nodea

-


>nodeb

-


>elementc

How can i bind the firest instance of nodea to a tableview in the first tab, the second instance to another table view from the seconds tab...

Florin

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Try this:

Add a Table UI element inside each tab. Bind the <i>dataSource</i> property of each table to node "nodeb" (set singleton=false for "nodeb").

Assign an action to the TabStrip.<i>onSelect</i> event, in the action handler, set the lead selection of "nodea" to the index corresponding to the new selected tab.

Then if a tab is selected, the lead selection of "nodea" is changed and the table in the selected tab shows the rows corresponding to the "nodeb" element of the selected "nodea" element.

Armin

Answers (0)