Wiki

Clone wiki

grails-datatables / serverDataLoad

serverDataLoad

Values

Name Type Values Default
serverDataLoad boolean true, false false

Description

The serverDataLoad option will enable the table to obtain its data from the server. In contrast to the serverSide option, this option obtains all the data for the table in a single request and then uses client-side processing henceforth. Like the serverSide option, you can use the built-in controller or specify your own with the controller, dataAction and reportAction options.

Example

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

See Also

serverSide, dataAction, reportAction


Back to Options.

Updated