'Pagination is not searching for records and not sorting my columns
I'm using the jQuery pagination plugin but I'm not able to get my data to be searched or sorted by columns. I've searched for the documentation and also watched some videos explaining how to perform this procedure, but without success. Right now my code looks like this:
dtAjax = $('#' + pTabela).DataTable(
{
"order": [[1, 'desc']],
responsive: true,
pageLenght: 50,
searching: true,
processing: true,
serverSide: false,
deferLoading: pTotalRegistros
}
My server Side necessarily needs to be "true", otherwise the pagination will not work properly. However, when I leave the serverSide as "true", the functionality of searching and sorting the columns is not working, only when the serverSide is set to "false". I have no idea how to solve this anymore, in case someone can save me..
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
