language.emptyTable
Since: DataTables 1.10
Table has no records string.
Description
This string is shown in preference to language.zeroRecords
when the table is empty of data (regardless of filtering) - i.e. there are zero records in the table.
Note that this is an optional parameter. If it is not given, the value of language.zeroRecords
will be used instead (either the default or given value).
Type
This option can be given in the following type(s):
Default
- Value:
No data available in table
Example
Set emptyTable string:
$('#example').dataTable( {
"language": {
"emptyTable": "No data available in table"
}
} );
Related
The following options are directly related and may also be useful in your application development.