Wiki

Clone wiki

grails-datatables / domainClass

domainClass

Values

Name Type Default
domainClass String None

Description

domainClass is a table option that allows you to specify a domain class, the objects of which will be listed in the table. This option only applies when using serverSide or serverDataLoad.

The domain class's fully qualified name must be used (package name plus class name).

Example

<dt:datatable name="MyTable" domainClass="this.is.my.DomainClass" serverSide="true" >
    <dt:column name="myFirstColumn"/>
    <dt:column name="mySecondColumn"/>
</dt:datatable>

See Also

serverSide, serverDataLoad


Back to Options.

Updated