Can you fetch json data one page at a time?

Can you fetch json data one page at a time?

Consultant6713Consultant6713 Posts: 1Questions: 1Answers: 0

My datatable is populated via an API call. It returns 30 items at most. I can pass it a page # variable. So if I want items 61-90, I pass page=3. Is there a way to use DataTables with this functionality? i.e. just show the left and right arrows. If I'm on page 2, clicking the right arrow would call the web service with page=3, or if I click the left arrow, it calls it with page=1.

Answers

This discussion has been closed.