Since: SearchPanes 1.0.0

Set custom empty messages for specific panes.
Please note - this property requires the SearchPanes extension for DataTables.


Empty cells will be represented in the panes by the option columns.searchPanes.emptyMessage for that specific column. 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.

Note, this value is only used if searchPanes.i18n.emptyMessage and language.searchPanes.emptyMessage are undefined. If this is the case then this value will over-ride the global value searchPanes.emptyMessage for this specific column.




By setting the columns.searchPanes.emptyMessage option to a string, any empty cells found in that column will be represented in the pane by that string.


  • Value: No Data

The default value for the columns.searchPanes.emptyMessage parameter is \<i\>No Data\</i\>.


Set the empty message for a specific column:

new DataTable('#myTable', {
	layout: {
		top1: 'searchPanes'
	columnDefs: [
			searchPanes: {
				emptyMessage: 'Age not provided'
			targets: [3]


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