Wiki
Clone wikigrails-datatables / order
order
Values
Name | Type | Values | Default |
---|---|---|---|
order | String | asc , desc |
none |
Description
order
is a column option that allows you to indicate that the table data should be initially ordered by this column.
Example
<dt:datatable name="MyTable" domainClass="this.is.my.DomainClass" serverSide="true"> <dt:column name="myFirstProperty" order="asc"/> <dt:column name="mySecondProperty"/> </dt:datatable>
See Also
Back to Options.
Updated