ColumnSortLink

Displays a link that will cause the current column to sort.

This component should only be used with contrib:Table and helps creating custom headers.

Parameters

Name Type Required Default Description
table Table yes The table that will include this sort link.

Body: allowed

Informal parameters: allowed

Reserved parameters: none

Example

<table jwcid="tab@contrib:Table" source="ognl:@java.util.Locale@getAvailableLocales()"
    columns="Locale:toString(), Language, Country">
    <tr jwcid="LanguageColumnHeader@Block">
        <a jwcid="@contrib:ColumnSortLink" table="component:tab">
            <img jwcid="@contrib:ColumnSortImage" table="component:tab"/> Language </a>
    </tr>
</table>