I have a datatable that, when there are no records, sometimes should say "Click an item from above" and other times should say "No data available in table".
I can find no way to change the sZeroRecords string after table initialization.
Can anyone suggest a way to do this - or some other technique for getting the same behavior?
Thanks,
$(document).ready(function() {
$('#example').dataTable( {
"oLanguage": {
"sEmptyTable": "Overridden message here"
}
});
});
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With