datatables ajax request method post code example
Example: send data in datatable ajax
$('#datatable').DataTable({
order: [],
responsive: true,
autoWidth: false,
processing: true,
serverSide: true,
ajax: {
url: AJAX_URL,
data(d) {
d.parameter_name_1 = 'value';
d.parameter_name_2 = 'value';
}
},
columns: [
{
---}
]
});