{hero}

language.searchBuilder.conditions.date

Since: SearchBuilder 1.0.0

Set the condition names for the date 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.

  • after: 'After'
  • before: 'Before'
  • between: 'Between'
  • empty: 'Empty'
  • equals: 'Equals'
  • not: 'Not'
  • notBetween: 'Not Between'
  • notEmpty: 'Not Empty'

Type

string | object

Description:

language.searchBuilder.conditions.date changes what will be displayed for the SearchBuilder's condition select element for date and moment conditions.

Default

  • Value: object

Example

Change message for SearchBuilder Condition:

$(document).ready(function() {
	$('#example').DataTable( {
		language: {
			searchBuilder: {
				conditions :{
                    date: {
                        after: 'After',
                        before: 'Before',
                        between: 'Between',
						empty: 'Empty',
                        equals: 'Equals',
                        not: 'Not',
                        notBetween: 'Not Between',
                        notEmpty: 'Not Empty'
                    }
                }
			}
		},
		dom: 'Qlfrtip',
	});
});

Related

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