{hero}

searchBuilder.enterSearch

Trigger a search on the enter key rather than every keypress.
Please note - this property requires the SearchBuilder extension for DataTables.

Deprecated

As of v1.2.0 this feature has been deprecated. This feature has not yet been scheduled for removal, but its use is discouraged and the alternatives discussed below should be used.

Description

This option is an alias to searchBuilder.enterSearch, which should be preferred when using DataTables 2+. It can be used to configure SearchBuilder regardless of how the panes are inserted into the document (layout or searchBuilder).

Please refer to the documentation for searchBuilder.enterSearch for full details of this option.

Type

boolean

Description:

When true an enter keypress is required to trigger a search for an input element.

Example

Input searches to only occur on enter press:

new DataTable('#myTable', {
	layout: {
		top1: 'searchBuilder'
	},
	searchBuilder: {
		enterSearch: true
	}
});