Closed Soufraz closed 10 years ago
I got!! Follow correctness of code:
$('#datatable').dataTable({
"bProcessing": true,
"bServerSide": true,
"sAjaxSource": "{{ URL::asset('find-events') }}"
});
Thank you Soufraz !
"ajax" property is for Datatables v10.0+, using "sAjaxSource" switched DT into legacy mode so this is why it helped. New v.1.4.0 version of laravel4-datatables-package has just arrived, it is now fully compatible with DT 10.0+ so this issue is now outdated.
I'm making a query with eloquent you are selecting more than 2000 records in the database. And the datatables are not selecting for parts. For example, the number of records coming from the database, was to select the first 10 records, when I click on page 2 select next 10 and so on. Is there some specific configuration of the package? Am I doing something wrong?