Receive page, limits and total with headers (xhr)

Receive page, limits and total with headers (xhr)

JuarezTurriniJuarezTurrini Posts: 1Questions: 1Answers: 0

Hi everyone,

Debub

As shown in the above link, I need to do an ajax request, rearrange the data to be listed and show. This part is working ok. But now i need get the response headers (xhr), which are in my case, the total received, total pages, actual page, total, limits, etc., and set the appropriate variables in the dataTable with this values from XHR. I can't change the return from php, so I need manipulating the dataTables and set the values of pagination and listing.

The question is: How?

This discussion has been closed.