Closed harrispriambudi closed 10 years ago
Problem Solved, I changed this code :
$parameters['offset'] = $start; $parameters['limit'] = $length;
into this :
$parameters['offset'] = (int)$start; $parameters['limit'] = (int)$length;
Thanks for posting solution.
Im using cnizzdotcom cakephp-datatable to implement datatables server-side method..
first, I thought it was succesed but when I try the paginate button its not working.. for example I only display id field from my table on datatables, second page the json data is
and when I use to push third page, the data not changed like pagination work as usually
this is my controller :
this my datatables js
assume my table id is right, FYI the sorting and search is working perfectly. Please Anyone can help me?( sorry for my bad english )