I've recently encountered an issue while using Datatables and AJAX to retrieve data from my Rails server. The problem arises when I try to share a specific page (let's say page 2) with another user who is also using Datatables. Due to the pagination being handled through AJAX, there is no visible indication of the page number in the URL, making it impossible to share a direct link.
How have you managed pagination via AJAX in such scenarios where sharing a specific page (?page=1
) becomes necessary?
Looking forward to your suggestions!