datatable does not show the correct number of rows per page after search

datatable does not show the correct number of rows per page after search

bqvinhbqvinh Posts: 1Questions: 1Answers: 0
edited February 2016 in Free community support

Hello,
I have a problem with my datatable. The table does not show the correct number of rows per page (page length is 10) after I set the search condition by typing something in the search box. For instance, it says "Showing 251 to 260 of 621 entries (filtered from 5,797 total entries)" but ended up with only 1 row displayed. I still can use next and previous button to move between pages and see all the filtered records. However, none of the pages will show 10 rows. I have tried to call table.draw(true) but does not help.

I use the server-side option and I think I return the parameters such as draw, start, length correctly.

Any help is much appreciated!
Vic

This discussion has been closed.