Wiki

Clone wiki

grails-datatables / resetButton

resetButton

Values

Name Type Values Default
resetButton boolean true, false false

Description

resetButton is a table option that allows you to specify whether a reset button is drawn for the table. When the reset button is enabled, clicking it will clear the search box.

Example

<dt:datatable name="MyTable" domainClass="this.is.my.DomainClass" serverSide="true" resetbutton="true">
    <dt:column name="myFirstProperty"/>
    <dt:column name="mySecondProperty"/>
</dt:datatable>

See Also

searchButton, tableSearching


Back to Options.

Updated