searchPanes.i18n.emptyMessage
Add internationalisation to the empty message displayed as a pane option.
Please note - this property requires the SearchPanes extension for DataTables.
Description
This option is an alias to searchPanes.i18n.emptyMessage
, which should be preferred when using DataTables 2+. It can be used to configure SearchPanes regardless of how the panes are inserted into the document (layout
or searchPanes
).
Please refer to the documentation for searchPanes.i18n.emptyMessage
for full details of this option.
Type
string
- Description:
By setting the
searchPanes.i18n.emptyMessage
option to a string, any empty cells found in the table will be represented in the pane by that string.
Default
- Value:
undefined
The default value for the searchPanes.i18n.emptyMessage
parameter is undefined. This means that the value of searchPanes.emptyMessage
will be used. That value is \<i\>No Data\</i\>
.
Example
Altering Empty Message:
new DataTable('#myTable', {
layout: {
top1: 'searchPanes'
},
searchPanes: {
i18n: {
emptyMessage: '</i></b>EMPTY</b></i>'
}
}
});
Related
The following options are directly related and may also be useful in your application development.