Jquery DataTables server parameters
- by Faton
In jquery DataTables it is possible to add server parameters through the method fnServerData or fnServerParams :
$("#myTable").dataTable({
"bServerSide": true,
"sAjaxSource": contextApp,
"fnServerParams" : function(aoData){
aoData.push("name":"paramName", "value":"paramValue");
}
)
Is it possible to do the same thing through fnSettings method?
For example :
var myTable = $("#myTable").dataTable();
var oSettings = myTable.fnSettings();
//add server paramters to oSettings