I can suggest you one possible solution to achieve this.
you can check there is a hidden item where you are passing customer id when you clicking from page 1 to page 2.
so, you have to write two processes/Dynamic actions one for fetching next customer id and another one for fetching previous customer id.
1. create one process/Dynamic action to fetch next customer id and call this process by Next button.
and then set the next customer id to your hidden item and refresh the region or reload the page.
2. create another process/Dynamic action to fetch previous customer id and call it from your previous button and set this value to hidden item available for cust id.
This is one way you can achieve this.
hope this helps you.
Thank you Mr Jitendra for reply.
But how and where can i create process to fetch to fetching next or previous customer id ?
You can do traitement in demo application if you want.
Likes Jitendra stated, there is a need to create the dynamic action to fetch the data for the next and previous button.
You can take a look in my application on page 8 and page 10 (detail page).
User Name: mydevfellow
To test the application, after login, double click the on any record on the second region and click the next and previous button on the detail page.
I think the method described by LA County APEX could work. But in general the filtered result set on page 1 could be very large and it would be a waste to fetch all the records just to get all the IDs to pass on to page 2 (also it could overflow the size of a page item value). What page 2 wants is to know the SQL and filters of the customer list on page 1 so that it can recreate that result set and keep track of the current offset within it. Currently IG does not provide the API needed to get at this information.
Depending on the details of page 1 and page 2 and if page 2 can be a modal dialog it would be most efficient to leverage the client side model already established by the IG on page 1. Page 2 wouldn't be its own page but an inline modal dialog region on page 1. The IG cookbook doesn't have exactly what you are looking for but the pages "Split Grid and Form Multi-edit" and "Edit in Dialog" should provide some ideas. (IG Cookbook is here APEX IG Cookbook for 5.1.4 – HardLikeSoftware )