How to remove "(filtered from NaN total entries)"
How to remove "(filtered from NaN total entries)"
automatem
Posts: 5Questions: 1Answers: 0
Hi,
I have a problem finding documentation. I like the info block at the bottom left that comes up by default, but I need to remove the supplementary text "(filtered from NaN total entries)" I can't find any documentation on how to configure the info block?
Here is by current setup:
jQuery( document).ready( function() {
var dt = jQuery('#rowblock').DataTable({
"processing": true,
"serverSide": true,
"searching": false,
"lengthMenu": [[25, 100, -1], [25, 100, "All"]],
"sPaginationType": "full_numbers",
"ajax": 'admin.php?gadmtable=&gadmaction=getgriddata',
"columnDefs": [{
"targets": [ 8,11,12,13 ],
"render": function ( data, type, full, meta ) {
if (type === "display"){
return jQuery("<div />").html(full[meta.col]).text();
}else{
return data;
}
}
} ]
});
dt.ajax.reload();
});
Kind Regards,
Jochen
This discussion has been closed.
Replies
Hi Jochen,
In the search box on the options reference page search for "info" - that will show all the language options related to the table information element you are referring to.
language.infoFiltered
andlanguage.infoPostFix
are the two parameters you'll probably want to use.Allan
Thank you that works great