Wiki
Clone wikigrails-datatables / heading
heading
Values
Name | Type | Default |
---|---|---|
heading | String | none |
Description
heading
is a column option that allows you to specify the heading text of the column. There are several ways that the plugin can obtain a heading for a column. Here they are, in order of precedence:
- Text provided in the
heading
attribute. - Text obtained from messages.properties using the headingKey attribute.
- Text obtained from messages.properties using the key
datatables.[table name].[column name]
- Text derived directly from the column name by splitting the camel case into separate words.
Example
<dt:datatable name="MyTable" domainClass="this.is.my.DomainClass" serverSide="true"> <dt:column name="myFirstProperty" heading="First Property"/> <dt:column name="mySecondProperty"/> </dt:datatable>
See Also
Back to Options.
Updated