Wiki
Clone wikigrails-datatables / searchButton
searchButton
Values
Name | Type | Values | Default |
---|---|---|---|
searchButton | boolean | true , false |
false |
Description
searchButton
is a table option that allows you to specify whether a search button is drawn for the table. The default behavior is to not have a search button. Without the button, searching is performed whenever the search field is changed. When the search button is enabled, the search is only performed when the button is pressed. This can be beneficial when a large data set must be searched, since it eliminates intermediate searches that would otherwise be performed while a search query is being typed.
Example
<dt:datatable name="MyTable" domainClass="this.is.my.DomainClass" serverSide="true" searchbutton="true"> <dt:column name="myFirstProperty"/> <dt:column name="mySecondProperty"/> </dt:datatable>
See Also
Back to Options.
Updated