language.search

Since: DataTables 1.10

Search input string.

Description

Sets the string that is used for DataTables filtering input control.

The token _INPUT_, if used in the string, is replaced with the HTML text box for the filtering input allowing control over where it appears in the string. If _INPUT_ is not given then the input box is appended to the string automatically.

Type

This option can be given in the following type(s):

Default

  • Value: Search:

Examples

Input text box will be appended at the end automatically:

$('#example').dataTable( {
  "language": {
    "search": "Filter records:"
  }
} );

Specify where the filter should appear:

$('#example').dataTable( {
  "language": {
    "search": "Apply filter _INPUT_ to table"
  }
} );

Related

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