Element html.table.TextColumn

html.table.BaseColumn
  |
  +-- html.table.TextColumn
Substitution Groups:
html.table.IColumnsProvider

A table column that displays text.


Attributes
optional   String CssClass Sets the column CSS class.
This class will be set on the header cell (th) as well as on table cells (td).
Default: None.
optional   enums.Alignment Alignment Sets the text alignment in the cell.
Default: Left.
optional   String IteratorVar The name of the iterator contextual bean.
This bean is available at render-time only.
Default: $column
optional   String Target The target window.
If specified, clicking the cell hyperlink will open a new window.
Applies only if OnClick action is specified.

Named Children Elements
optional   binding.Expression IterateOn Vector of column objects (any).
When set, it allows to render several table columns (by iterating on the returned vector).
mandatory   binding.Expression Title The column title.
Supported contextual beans: $item (if expression 'IterateOn' is set).
optional   html.table.ISorter Sort Defines a sorting component associated to this column.
Supported contextual beans: $item (if expression 'IterateOn' is set).
optional   binding.Expression Tooltip The cell tooltip text.
Supported contextual beans: $row
optional   html.table.IFilter Filter Defines a filter component associated to this column.
Supported contextual beans: $item (if expression 'IterateOn' is set).
optional   binding.Expression Visible Determines whether the column is visible.
Supported contextual beans: $item (if expression 'IterateOn' is set).
optional   binding.Expression CellValue This expression provides a raw Object representing the table cell.
When defined, it is used by Sorter and Filter components preferably than the textual value.
As a matter of fact, the returned value should implement Comparable
Supported contextual beans: $row
optional   binding.Expression Text The text to display in the cell.
Supported contextual beans: $row
optional   binding.Expression Icon Defines the cell icon.
The path returned by this expression is relative to the war root directory (ex: 'resources/images/icon.png').
Supported contextual beans: $row
optional   action.IAction OnClick Action to trigger when the cell is clicked.
When defined, the cell text is rendered as an hyperlink.
Supported contextual beans: $row