Wiki

Clone wiki

grails-datatables / reportingEnabled

reportingEnabled

Values

Name Type Values Default
reportingEnabled boolean true, false true

Description

reportingEnabled is a table option that will enable reports to be downloaded. Specifically, this will cause the function that provides the report URL to be included in the GSP, and will also enable the getReport action to return a report when called.

Reporting is only available when either serverSide or serverDataLoad is set to true. If you wish to prevent reports from being downloaded, set this option to false.

Example

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

See Also

reportButton


Back to Options.

Updated