Quantcast
Channel: Free community support — DataTables forums
Viewing all articles
Browse latest Browse all 35808

How to pass new POST parameters on Ajax.reload?

$
0
0

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?


Viewing all articles
Browse latest Browse all 35808

Trending Articles