{hero}

language.searchBuilder.search

Since: SearchBuilder 1.6.0

Text to show in the "perform search" button.
Please note - this property requires the SearchBuilder extension for DataTables.

Description

When the searchBuilder.liveSearch option is disabled, SearchBuilder will show a button that must be pressed before the search will run. The text shown in that button can be customised using this option.

Type

string

Text that will be displayed in the button that is shown to perform a search, when required.

Default

  • Value: Search

Example

Show search button and set text:

new DataTable('#myTable', {
	language: {
		searchBuilder: {
			search: 'Do search'
		}
	},
	layout: {
		top1: 'searchBuilder'
	},
	searchBuilder: {
		liveSearch: false
	}
});

Related

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