on 02-07-2006 3:01 PM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.