cancel
Showing results for 
Search instead for 
Did you mean: 

Table pagination issue

chinmaya_sahoo
Contributor
0 Kudos

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

Accepted Solutions (0)

Answers (2)

Answers (2)

chinmaya_sahoo
Contributor
0 Kudos

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.

susmita_panigrahi
Active Participant
0 Kudos

Hi

It seems that 2nd table is not refreshing.Did you write the statement to refersh the table node?

Thanks

Susmita

chinmaya_sahoo
Contributor
0 Kudos

Hello Susmita.

I am invalidating the table node before poapulating it again.

Do you mean this for refreshing the table node ?

if not Can you please let me know what need to be done for refreshing the table node ?

Thanks

Chinmaya

chinmaya_sahoo
Contributor
0 Kudos

Hi All

Please let me know if i am clear on my question.

Any idea how to make it ?

Thanks

Chinmaya