Wiki

Clone wiki

grails-datatables / linkController

linkController

Values

Name Type Default
linkController String none

Description

linkController is a column option that, along with linkAction and linkIdField, allows you to make the resulting data into a link. If any one of linkController, linkAction or linkIdField is specified, a link will be created. If linkController is not specified (but linkAction or linkIdField is specified), then the page controller will be used for the link.

Example

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

See Also

linkAction, linkIdField


Back to Options.

Updated