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:
new DataTable('#myTable', {
language: {
searchBuilder: {
clearAll: 'Reset'
}
},
layout: {
top1: {
buttons: ['searchBuilder']
}
}
});
Related
The following options are directly related and may also be useful in your application development.