{hero}

search.search

Since: DataTables 1.10

Set an initial filtering condition on the table.

Description

Search term that should be applied to the table.

Type

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

Example

Set an initial filter:

$('#example').dataTable( {
  "search": {
    "search": "Fred"
  }
} );

Related

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