{hero}

language.searchBuilder.clearAll

Since: SearchBuilder 1.0.0

Text to be displayed in the SearchBuilder clear all button.
Please note - this property requires the SearchBuilder extension for DataTables.

Description

As standard, SearchBuilder will set the 'Clear All' button to display 'Clear All'. This option over-rides that value.

Type

string | object

Description:

language.searchBuilder.clearAll changes what will be displayed in the text of the SearchBuilder 'Clear All' button.

Default

  • Value: Clear All

Example

Change message for SearchBuilder clear all button:

$(document).ready(function() {
		$('#example').DataTable( {
			language: {
				searchBuilder: {
					clearAll: 'Reset'
				}
			},
			dom: 'Qlfrtip',
		});
	});

Related

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