language.searchBuilder.conditions.number
Set the condition names for the number column type.
Please note - this property requires the SearchBuilder extension for DataTables.
Description
This object sets the text for the condition names in the condition select
element. The defaults for each language option is listed below.
between: 'Between'
empty: 'Empty'
equals: 'Equals'
gt: 'Greater Than'
gte: 'Greater Than Equal To'
lt: 'Less Than'
lte: 'Less Than Equal To'
not: 'Not'
notBetween: 'Not Between'
notEmpty: 'Not Empty'
Type
string | object
- Description:
language.searchBuilder.conditions.number
changes what will be displayed for the SearchBuilder's conditionselect
element for num, num-fmt, html-num and html-num-fmt conditions.
Default
- Value:
object
Example
Change message for SearchBuilder Condition:
new DataTable('#myTable', {
language: {
searchBuilder: {
conditions: {
number: {
between: 'Between',
empty: 'Empty',
equals: 'Equals',
gt: 'Greater Than',
gte: 'Greater Than Equal To',
lt: 'Less Than',
lte: 'Less Than Equal To',
not: 'Not',
notBetween: 'Not Between',
notEmpty: 'Not Empty'
}
}
}
},
layout: {
top1: 'searchBuilder'
}
});
Related
The following options are directly related and may also be useful in your application development.