Wiki

Clone wiki

grails-datatables / linkAction

linkAction

Values

Name Type Default
linkAction String none

Description

linkAction is a column option that, along with linkController 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 linkAction is not specified (but linkController or linkIdField is specified), then the page action will be used for the link.

Example

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

See Also

linkController, linkIdField


Back to Options.

Updated