on 08-20-2009 7:21 AM
Hi All
I have 2 tables in a screen. Based on the first tabel selected row data, i need to populate the second table.
The second table visible row is 5, so when there are more than 5 records i am getting pagination buttons enabled.
The issue is, i have populated some data(say 10 rows) in 2nd table. i clicked on "Next Page" button in footer of table and now it is Row visible 6 to 10.
Then i have selected some other row in first table and based on the selected row the second table get populated. but the row visible is same 6 to 10. the data get updated but the table footer property does not get change.
It must show form the starting of the table(like Row 1 of 10) .
I am invalidating the 2nd table node while updating the data. i am suspecting somewhere i need to clrae the table property.
Please let me know how to achive that.
Thanks
Chinmaya
To move the visible page in table 2 back to the first position you have to explicitly set the u2018firstVisibleRowCountu2019 property of table 2 back to 0. You can apply data binding for this and set a corresponding context value of type int back to 0 inside your action event handler. The action event handler is implemented in the view controller for the logic of the u201ConLeadSelect-eventu201D of the first table.
Thanks Mr Bertram Ganz for the solution.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
It seems that 2nd table is not refreshing.Did you write the statement to refersh the table node?
Thanks
Susmita
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
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.