on 09-30-2005 6:00 AM
Hi WDExperts,
In my application, I have a tabstrip containing two tabs, <b>Tab A</b> and <b>Tab B</b>.<b>Tab A</b> has a table<b> (Table 1)</b> embedded in it and so with <b>Tab B</b> also <b> (Table 2)</b>. <u>Both the tables have the datasource bound to the same context node. The first column is same in both the tables and other columns are different</u>.
Now, if I click the Next Item/ Nextpage/Bottom in the footer of <b> (Table 1)</b>, the scrolling takes place properly and the footer shows <b>5 of 20</b>, but the same is not getting reflected in the <b> (Table 2)</b>, i.e it still shows <b>1 of 20</b> and no scrolling has taken place.How do I synchronize both the tables so that scrolling in one table <b> (Table 1)</b> gets reflected in the other also <b> (Table 2)</b>.
Hi Bala,
You can bind firstVisibleRow property of table to context to syncronize the two tables.
Regards,
Apurva
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Bala,
When you click on the footer of the table it doesn;t change the lead selection of the context.
So it won't reflect on the second table.
Just click on the row of first table(After clicking on the footer) and then you can see the changes in the second table.
Regards, Anilkumar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Anil,
Thanks for your suggestion. But I want to implement such a functionality, that whenever I click the Next page/Next Item/ Bottom button I want it to be reflected in the other table also. How to go about it? Is it possible to associate any particular property of the table to a context/value attribute and handle this problem?
Bala,
This is very-very simple
Just bind firstVisibleRow property of both tables to the same context attribute of type integer (place it in root context node). Done.
Valery Silaev
SaM Solutions
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.