My ui-grid is functioning correctly, utilizing server side pagination with a view button to display row details on a separate page. However, upon returning to the grid after viewing details, it defaults back to displaying the first page. I would like it to remember and render the current page before redirecting to the details.
For example, if I am on page 10 and click the details button, when I return I see page 1 instead of page 10, which is not ideal for user experience.
I have considered saving the page number in an Angular service but I am struggling to implement this functionality. Can anyone offer assistance or guidance on how to achieve this?