I have used Server-side processing https://datatables.net/examples/data_sources/server_side.html
var table = $("#job-table").DataTable({
"ajax": {
url: "<?php echo url('/getJobs');?>",
type: "POST",
data: {
"connection": connectionArray,
"company": companyArray,
"type": typeArray
}
},
"processing": true,
"serverSide": true,
"columns": [
{ "data": "id" },
{ "data": "job_id" },
{ "data": "type" },
{ "data": "connection_id" },
{ "data": "company_id" },
{ "data": "message" },
{ "data": "total_completion_time" },
{ "data": "date" },
{ "data": "start_time" },
{ "data": "end_time" },
{ "data": "error_time" }
]
});
I want to call the same datatable ajax call after custom button click. On this custom button I have changed the datatable ajax call parameters. Is there any way to call the same ajax call? please help me here!