I want to be able to reload my datatable with AJAX, but need to be able to pass POST parameters.
Here is how I initialize the table
$('#list').DataTable( {
"ajax": {
"url": '${ctx}/work/list_ajax.json',
"type": 'POST'
},
Here is how I reload the AJAX source:
$('#list').DataTable().ajax.reload(null, false).draw();
How can I pass new/updated parameters into the ajax.reload call?