scroller.loadingIndicator

Display a loading message while Scroller is loading additional data. Please note - this property requires the Scroller extension for DataTables.

Description

While scrolling quickly through a table it is quite possible that Scroller will not be able to display the data to shown in the table as quickly as the user is scrolling (particularly if server-side processing is used - serverSide).

To indicate to the end user that something is happening while new data is being loaded, this option can be used to display a loading message. The text shown is taken from the language.loadingRecords option.

Type

boolean

Description:
  • true show the loading indicator
  • false do not show

Default

  • Value: false

Loading message is not shown

Example

Show the loading indicator for Scroller:

$('#example').DataTable( {
	scrollY: true,
	scroller: {
		loadingIndicator: true
	}
} );