fnreloadajax new source

fnreloadajax new source

aaronrmzaaronrmz Posts: 1Questions: 0Answers: 0

I need to press a button to reload the datatable me with a query that is filtered with parameters that control.

But to put the new source and does not recognize the recharge on same source.

"sAjaxSource": '/TimeSheet/Timesheet' //original source

$("#next").click(function () {
var tsFin = $("#fechaFin").text();
oTable.fnClearTable(0);
oTable.fnDraw();
oTable.api().ajax.reload('/TimeSheet/Timesheet?tsFin=' + tsFin);
});

This discussion has been closed.