Need to show on the page with Pagination with 10K Records through REST API.
we are fetching all the records to the client layer when we call the REST service. it's having almost 10k records. Need to show on the page with Pagination , how we can use this.
Used below code and details but we have huge data we are looking alternative
Version (include the version you are using, if applicable):
Code Snippet (add any code snippets that support your topic, if applicable):