29
Views
4
Comments
Pagination Show Go To Page

In my case, I need to have 2 pagination in each table where the pagination show go to page attribute needed to be true . One on the top and the other on the bottom of the table, as shown below.

I've tried using one pagination only, and it works as expected. The problem is when I copy the pagination so the table have 2 pagination. When I updated on of the pagination using the arrow button, it only update the current pagination page field, while the other pagination shows a wrong page, as shown below.

Is there's a way to sync this 2 pagination page field?
Thanks guys

2026-02-16 05-51-10
Sahana K

Hi @Yustisiarni G Manao ,
1.Create a Local Variable for Page Number

 create a local variable (e.g., CurrentPage) of type Integer.
Set its default value to 1.

2.Set Both Pagination Widgets to Use This Variable

For both pagination components (top and bottom), bind the Page Number attribute to CurrentPage.

Ensure that both pagination widgets trigger an event that updates CurrentPage when clicked.

Handle Page Change Event

Add an On Change event to both paginations.

In the event, set Current Page to the new page number.

Ensure that both pagination components react to this change by refreshing the table with the updated page number.


Thanks,
Sahana

2022-12-30 07-28-09
Navneet Garg

It must be variable assignment issue. You need to use same page number variable. can you share the oml file so I can check what is going wrong with the implementation.


2025-01-31 03-15-38
Irfan Ahamed Abdul Shukoor

Hi  @Yustisiarni G Manao ,

Can You share the current OML for more understanding?

Thanks

2023-11-22 10-51-50
Jozy Sohail

Hi Yustisiarni G Manao,

I faced this issue when the max records value for both the pagination is different otherwise it works fine, can you check that once and try.
If possible can you please share the OML so that we can check the actual issue.

hope it helps.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.