DataTables server-side pagination: no automatic page reset when total records decrease
Goal Ensure that a DataTable using server‑side pagination remains usable when the total record count reported by the server decreases between requests, avoiding an empty table view while preserving meaningful pagination controls. Constraints and uncertainty DataTables calculates the start index solely from the current page number and page length, sending it