Ajax call on pagination

Ajax call on pagination

junaedjunaed Posts: 18Questions: 7Answers: 0

Hi, I have a backbone model with 10 properties, and a collection of that model. I am using datatable to display the collection. However, I do not have all 10 properties of a given model on client side, I have only 2 (name, and id). I need to make an ajax call for current page(max 10 rows), get the details and show in the datatable. When user navigates to other pages, I need to make another ajax call to get the details for that page. Our page size is fixed. Can anyone please suggest what configuration can I use to achieve this using datatable 1.9? I can use server side processing if needed. The ajax call needs the model ids to return the details.

Answers

This discussion has been closed.