I am working on one hotels project where m requesting for hotels record. That API gives me thousands of record at a time in return. I want to do pagination with this record. The problem m facing is i dont want to call API back. I want to use those record which API gave me first time. I want to use it and apply pagination using ajax request. Is that posible? Or there is any another better way to do it?
you can use DataTable to help you make ajax pagination https://www.datatables.net/