I have a datatable that I initialize like this:
mytable = DataTable({
ajax:{
url: /url/getTableData,
dataSrc:
},
sortClasses: false,
paging: false,
scrollY: 300,
columns: cols
});
later I'd like to do
mytable.ajax.reload();
It works fine, but now I'd like to send a few parameters in that request. Those parameters I only need on reload, and not in the initialization of the table.
How do I do that?
thank you!