Datatables passing parameters
Datatables passing parameters
advancesoftware
Posts: 1Questions: 0Answers: 0
I am Using client side processing and I am not sure if I can pass variables to my function, when I use the code below the parameter does NOT get passed.
$('#dtCases').DataTable({
ajax: rootpath+"/classes/cases.cfc?method=GetCases",
sAjaxDataProp: "DATA",
data: {"status": "current
});
If I add a query string onto my ajax URL then it gets processed fine.
Any help would be appreciated
This discussion has been closed.
Replies
Using
ajax
,ajax.url
andajax.dataSrc
it should be something like this: