JQUERY DataTable Passage des paramètres
dataTable = $("#Table").dataTable({
"sAjaxSource": '@Url.Action("MethodName", "COntrollerName")',
"fnServerParams": function (aoData) {
aoData.push(
{ "name": "cCode", "value": "value" },
{ "name": "bCode", "value": $("#MC_BranchCode").val() },
{ "name": "ConvertedtoConsol", "value": $("input[type='radio']:checked").val() }
);
},
"bServerSide": true,
"stateSave": true,
// "select" : 'multi',
"bProcessing": true,
"scrollX": true,
"searching": false,
"order": [[1, 'asc']],
BlackSwan