Wiki

Clone wiki

grails-datatables / selectAll

selectAll

Values

Name Type Values Default
selectAll boolean true, false false

Description

selectAll is a checkboxColumn option that allows you to specify whether the checkbox column has a Select All checkbox in the table header. When present, the Select All checkbox can be used to alternately select and deselect all the checkboxes on the current page.

Example

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

Back to Options.

Updated