Since: SearchPanes 1.0.0

Add internationalisation to the empty message displayed as a pane option.
Please note - this property requires the SearchPanes extension for DataTables.


Empty cells will be represented in the panes by the option searchPanes.i18n.emptyMessage. This is useful as it's a more user-friendly way than just having a blank cell. The value is passed through the i18n() function.

This value supersedes searchPanes.emptyMessage (deprecated) and columns.searchPanes.emptyMessage. If it is desired for those values to be used searchPanes.i18n.emptyMessage should be undefined, as it is by default. When this is the case the two previous options will be used.

This option will default to the value given by language.searchPanes.emptyMessage, which should generally be preferred over this option as the language strings can be loaded by Ajax and shared for the whole table, but if needed, this option is available to override that on a per instance basis.




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.


  • 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\>.


Altering Empty Message:

new DataTable('#myTable', {
	layout: {
		top1: {
			searchPanes: {
				i18n: {
					emptyMessage: '</i></b>EMPTY</b></i>'


The following options are directly related and may also be useful in your application development.