language.loadingRecords

Since: DataTables 1.10

Loading information display string - shown when Ajax loading data.

Description

When using Ajax sourced data and during the first draw when DataTables is gathering the data, this message is shown in an empty row in the table to indicate to the end user the the data is being loaded. Note that this parameter is not used when loading data by server-side processing, just Ajax sourced data with client-side processing.

Type

This option can be given in the following type(s):

Default

  • Value: Loading...

Example

Set loading information text:

$('#example').dataTable( {
  "ajax": "json.txt",
  "language": {
     "loadingRecords": "Please wait - loading..."
  }
} );

Related

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