{hero}

language.searchPanes.loadMessage

Since: SearchPanes 1.0.0

Add internationalisation to the message shown when the panes are loading.
Please note - this property requires the SearchPanes extension for DataTables.

Description

SearchPanes will display a message while still loading, which is defined by this parameter.

It is a global setting that will impact all instances of SearchPanes on a DataTable (it should be noted that it is uncommon to have more than one instance!). The per-instance parameter is searchPanes.i18n.loadMessage, which also defines the default.

This option is useful as the language object can be loaded by Ajax, or set locally and define all language strings used by DataTables and its extensions.

Type

string

Description:

The searchPanes.i18n.loadMessage is displayed to the user in the SearchPanes container when the panes are loading and have not yet been displayed. This is typically only seen for large data sets or when using server-side processing.

Example

Alter SearchPanes Loading Message:

new DataTable('#myTable', {
	language: {
		searchPanes: {
			loadMessage: 'Loading filtering options...'
		}
	},
	layout: {
		top1: 'searchPanes'
	}
});