Wiki

Clone wiki

grails-datatables / adjustColumnWidths

adjustColumnWidths

Values

Name Type Values Default
adjustColumnWidths boolean true, false false

Description

adjustColumnWidths is a table option that allows you to specify whether the column widths will be adjusted on each redraw.

Example

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

Back to Options.

Updated