Jakarta > Tapestry
Jakarta
 

TableColumns

A low level Table component that renders the column headers in the table. This component must be wrapped by TableView.

The component iterates over all column objects in the ITableColumnModel and renders a header for each one of them using the renderer provided by the getColumnRender() method in ITableColumn. The headers are wrapped in 'th' tags by default.

Note
The table header rendered by this component has two main css class definitions. The embedded table html markup within each th element has the class tableHeaderImage. The image used to sort table columns has an embedded style class definition for tableHeaderImage that defines align:center.
You may override these definitions with your own css rules.

See also: Table, TableView, TablePages, TableRows, TableValues

Parameters

Name Type Direction Required Default Description
element String in no th The tag to use to wrap the column headers.
column ITableColumn out no   The object representing the current column.
arrowUpAsset IAsset in no   The image to use to describe a column sorted in an ascending order.
arrowDownAsset IAsset in no   The image to use to describe a column sorted in a descending order.

Body: removed

Informal parameters: allowed

Reserved parameters: none

Examples