Wiki

Clone wiki

grails-datatables / include

include

Values

Name Type Values Default
include String all, table, report, none all

Description

include is a column option that allows you to specify whether a column will appear in the table, in the report, or some combination thereof. The none option exists so that you can have a column that is used only for filtering purposes.

Example

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

See Also

visible


Back to Options.

Updated