thank you. So Table is great, but DataTables has more features, functionalities and more flexible, correct? ,
I tried all this
DataTables::create(array(
"dataStore" => $this->dataStore('ClientVisitorList'),
"options"=>array(
"searching"=>true,
"fixedHeader"=>true,
"paging"=>true,
"pageLength" => 25,
"showFooter"=>true,
"stateSave" => true
),
the stateSave worked. IT seems that I still have to wait to load the whole things before the data is presented with pagination which is very slow and defeats the purpose of the pagination in this case.
First time it loads the page is blank because my default is zero through the defaultParamValues
So, I tried the server side option "serverSide"=>true, but I am getting the following error:
DataTables warning: table id=datatables5ec686587305c1 - Ajax error. For more information about this error, please see http://datatables.net/tn/7
I'm using Laravel, and my router is set to Get/Post Route::match(array('GET','POST'),'report/executeReport/{id}', 'Admin\AdminReportController@executeReport');
I tried to follow the post https://www.koolreport.com/forum/topics/1147
I've added use \koolreport\clients\jQuery; to the class and also added
"showFooter"=>true,
"serverSide"=>true,
"themeBase"=>"bs4",
"method" => "post",
when I first load, I get "Failed to load resource: the server responded with a status of 419 (unknown status)"
Once and select a code and click on look up, I get the following error in browser network dev tool says
POST http://localhost:8000/report/executeReport/Reporting:ClientGroupFilteredByGroupCode 419 (unknown status)
thank you very much for your help. thanks