Pagination Not Working Properly.?
Pagination Not Working Properly.?
I done a Server-Side Ajax Datatable and have a response of
{draw: 1, recordsTotal: 27,recordsFiltered: 20, data: [,…]}.
But, the Problem is With datatable. On the First Page itself it shows all the 20 Rows.?

You Can see in Image that Row Counting from 1 to 20, is showing on the first Page. How to OverCome this.? Please help me to find out this.!
This discussion has been closed.
Answers
There is some missing information like your Datatables config and how many rows of data is in your
dataobject in the JSON response. Do you have thepageLengthoption set? It defaults to 10 if you don't. How many rows of data is in yourdataobject?If this doesn't help then the best option would be a link to your page so ewe can look. Or post your Datatables config and the number of rows in
data. You can also try the debugger and post the results for the developers. The debug image may have all the info they need.Kevin