Wiki
Clone wikigrails-datatables / columnSearching
columnSearching
Values
Name | Type | Values | Default |
---|---|---|---|
columnSearching | boolean | true , false |
false |
Description
columnSearching
is a table option that allows you to specify whether column search boxes at the bottom of the table will be drawn. This allows you to search each column individually, whereas the tableSearching option allows you to search all the columns at once.
Note that you can control which columns are searchable using the searchable column option.
Setting columnSearching to false
does not prevent searching from being performed via the DataTables JavaScript API, however column searching can only be performed via the DataTablesController (i.e. when using server-side processing) when columnSearching is set to true
.
Example
<dt:datatable name="MyTable" domainClass="this.is.my.DomainClass" serverSide="true" columnSearching="true"> <dt:column name="myFirstProperty"/> <dt:column name="mySecondProperty"/> </dt:datatable>
See Also
searchButton, columnSearching, tableSearching, searchable
Back to Options.
Updated