searchPanes.emptyMessage
Deprecated. Set custom empty message.
Please note - this property requires the SearchPanes extension for DataTables.
Description
This option is an alias to searchPanes.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.emptyMessage
for full details of this option.
Type
string
- Description:
By setting the
searchPanes.emptyMessage
option to a string, any empty cells found in the table will be represented in the pane by that string.
Default
- Value:
No Data
The default value for the searchPanes.emptyMessage
parameter is \<i\>No Data\</i\>
.
Example
Altering Empty Message:
new DataTable('#myTable', {
layout: {
top1: 'searchPanes'
},
searchPanes: {
emptyMessage: '</i></b>EMPTY</b></i>'
}
});
Related
The following options are directly related and may also be useful in your application development.