language.searchBuilder.add
Set the message to be displayed in the SearchBuilder add button.
Please note - this property requires the SearchBuilder extension for DataTables.
Description
As standard, SearchBuilder will set the add button to display a default text, in this case 'Add Condition'
.
The value of language.searchBuilder.add
is passed into an i18n()
function.
Type
string | object
- Description:
language.searchBuilder.add
changes what will be displayed in the text of the SearchBuilder add button.
Default
- Value:
Add Condition
Example
Change message for SearchBuilder add:
new DataTable('#myTable', {
language: {
searchBuilder: {
add: '+'
}
},
layout: {
top1: 'searchBuilder'
}
});
Related
The following options are directly related and may also be useful in your application development.