<p>The <t:column> tag extends the h:column tag which renders HTML TD cells. This tag can be used to render a single column of data within a data table component.</p>
Example
<t:column> </t:column>
Tag Attributes
binding
Expression
The value-binding expression linking this component tag to a backing bean property.
colspan
Text
This attribute specifies the colspan attribute for the cell
columnId
Text
The columnId which will be used as id for the column header.
Notice:As the rowId on t:datatable this will not add
any namespace to the id. The id will be rendered exactly
as you provide it.
defaultSorted
Text
This attribute instructs your application to use a particular column for the default sort order. It is only effective the sortable attribute has a boolean value of true.
dir
Text
The dir attribute is a standard HTML attribute that overrides the default text directionality for this component. The values accepted for this component are "LTR" (left-to-right) and "RTL" (right-to-left).
groupBy
Text
The groupBy attribute instructs a dataTable component to display its data grouped by the specified column.
groupByValue
Text
Optional - Allows you configure where to get the value to
check for the group change condition. Default:all children
of the column cell will be checked
headercolspan
Text
headerdir
Text
The headerdir attribute defines the direction of the header text for this tag. It expects either the value 'ltr' (left-to-right) or 'rtl' (right-to-left).
headerlang
Text
The headerlang attribute defines the language used by the header of this tag.
headeronclick
Text
The headeronclick attribute defines the JavaScript to execute when the user clicks on the header of this tag.
headerondblclick
Text
The headerondblclick attribute defines the JavaScript to execute when the user double-clicks on the header of this tag.
headeronkeydown
Text
The headeronkeydown attribute defines the JavaScript to execute when the user presses a key down while the focus is on the header of this tag.
headeronkeypress
Text
The headeronkeypress attribute defines the JavaScript to execute when the user presses a key while the focus is on the header of this tag.
headeronkeyup
Text
The headeronkeyup attribute defines the JavaScript to execute when the user releases a key while the focus is on the header of this tag.
headeronmousedown
Text
The headeronmousedown attribute defines the JavaScript to execute when the user clicks the mouse button while the focus is on the header of this tag.
headeronmousemove
Text
The headeronmousemove attribute defines the JavaScript to execute when the user moves the mouse while the pointer is on the header of this tag.
headeronmouseout
Text
The headeronmouseout attribute defines the JavaScript to execute when the user moves the mouse pointer away from the header of this tag.
headeronmouseover
Text
The headeronmouseover attribute defines the JavaScript to execute when the user moves the mouse pointer over the header of this tag.
headeronmouseup
Text
The headeronmouseup attribute defines the JavaScript to execute when the user releases the mouse button over the header of this tag.
headerstyle
Text
The headerstyle attribute defines the CSS style to be applied to the header of this tag.
headerstyleClass
Text
The headerstyleClass attribute defines the CSS class to be applied to the header of this tag.
headertitle
Text
The headertitle attribute defines the tooltip text to be displayed when the mouse pointer is over the header of this tag.
id
Text
The unique identifier value for this component. The value must be unique within the closest naming container.
lang
Text
The lang attribute is a standard HTML attribute that sets the code describing the language to be used in the markup generated by this component.
onclick
Text
The onclick attribute sets the JavaScript code to execute when the mouse pointer is clicked over this element.
ondblclick
Text
The ondblclick attribute sets the JavaScript code to execute when the mouse pointer is double-clicked over this element.
onkeydown
Text
The onkeydown attribute sets the JavaScript code to execute when a key is pressed down over this element.
onkeypress
Text
The onkeypress attribute sets the JavaScript code to execute when a key is pressed and released over this element.
onkeyup
Text
The onkeyup attribute sets the JavaScript code to execute when a key is released over this element.
onmousedown
Text
The onmousedown attribute sets the JavaScript code to execute when the mouse pointer is pressed down over this element.
onmousemove
Text
The onmousemove attribute sets the JavaScript code to execute when the mouse pointer is moved within this element.
onmouseout
Text
The onmouseout attribute sets the JavaScript code to execute when the mouse pointer is moved away from this element.
onmouseover
Text
The onmouseover attribute sets the JavaScript code to execute when the mouse pointer is moved onto this element.
onmouseup
Text
The onmouseup attribute sets the JavaScript code to execute when the mouse button is released over this element.
rendered
Text
A value-binding expression that evaluates to a Boolean condition indicating if this component should be rendered.
sortPropertyName
Text
The sortPropertyName attribute specifies the name of a property by which the column will be sorted.
sortable
Text
The sortable attribute expects a boolean value that, when true, enables column sorting for this component.
style
Text
The style attribute sets the CSS style definition to be applied to this component when it is rendered.
styleClass
Text
The styleClass attribute sets the CSS class to apply to this component when it is rendered.
title
Text
The title attribute is a standard HTML attribute that sets the tooltip text to display for the rendered component.
width
Text
The width attribute specifies the width of this component.