I'm trying to set default configurations to be used everytime the datatable plugin is called, but it is not working. The defaults are just ignored.
Example:
$.extend($.fn.dataTableExt.defaults, {
"sPaginationType": "full_numbers",
});
$content.find("table.datatable").dataTable({
"bServerSide": true,
"sAjaxSource": '@Url.Action("ListaGrid")'
});
In the case above, the configuration "sPaginationType" is not applied.
Any tips?
Thank you.