Displays the correct sort image for the current column. No image is shown if that column is not the one sorted.
This component should only be used with contrib:Table and helps creating custom headers.
Name | Type | Required | Default | Description |
---|---|---|---|---|
table | Table | yes | The table that will include this sort image. |
Body: allowed
Informal parameters: allowed
Reserved parameters: none
<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>