{hero}

i18n.clear

Since: DateTime 1.1.0

Clear button text value.
Please note - this property requires the DateTime extension for DataTables.

Description

Sets the string that will be shown in the Clear button when enabled by buttons.clear.

Default

  • Value: Clear

Example

Set clear button text:

new DateTime(document.getElementById('test'), {
	buttons: {
		clear: true
	},
	i18n: {
		clear: 'Empty'
	}
});

Related

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