10. Tomahawk Tag Reference
Contents > Tomahawk Tag Reference > t:columns
t:columns |
|
The t:columns tag allows for a data table to have dynamic columns.
Example:
<t:columns></t:columns>
|
Tag Attributes
| binding |
String |
| |
| The value-binding expression linking this component tag to a backing bean property. |
| defaultSorted |
String |
| |
| 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 |
String |
| |
| 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 |
String |
| |
| The groupBy attribute instructs a dataTable component to display its data grouped by the specified column. |
| id |
String |
| |
| The unique identifier value for this component. The value must be unique within the closest naming container. |
| lang |
String |
| |
| 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 |
String |
| |
| The onclick attribute sets the JavaScript code to execute when the mouse pointer is clicked over this element. |
| ondblclick |
String |
| |
| The ondblclick attribute sets the JavaScript code to execute when the mouse pointer is double-clicked over this element. |
| onkeydown |
String |
| |
| The onkeydown attribute sets the JavaScript code to execute when a key is pressed down over this element. |
| onkeypress |
String |
| |
| The onkeypress attribute sets the JavaScript code to execute when a key is pressed and released over this element. |
| onkeyup |
String |
| |
| The onkeyup attribute sets the JavaScript code to execute when a key is released over this element. |
| onmousedown |
String |
| |
| The onmousedown attribute sets the JavaScript code to execute when the mouse pointer is pressed down over this element. |
| onmousemove |
String |
| |
| The onmousemove attribute sets the JavaScript code to execute when the mouse pointer is moved within this element. |
| onmouseout |
String |
| |
| The onmouseout attribute sets the JavaScript code to execute when the mouse pointer is moved away from this element. |
| onmouseover |
String |
| |
| The onmouseover attribute sets the JavaScript code to execute when the mouse pointer is moved onto this element. |
| onmouseup |
String |
| |
| The onmouseup attribute sets the JavaScript code to execute when the mouse button is released over this element. |
| rendered |
String |
| |
| A value-binding expression that evaluates to a Boolean condition indicating if this component should be rendered. |
| sortPropertyName |
String |
| |
| The sortPropertyName attribute specifies the name of a property by which the column will be sorted. |
| sortable |
String |
| |
| The sortable attribute expects a boolean value that, when true, enables column sorting for this component. |
| style |
String |
| |
| The style attribute sets the CSS style definition to be applied to this component when it is rendered. |
| styleClass |
String |
| |
| The styleClass attribute sets the CSS class to apply to this component when it is rendered. |
| title |
String |
| |
| The title attribute is a standard HTML attribute that sets the tooltip text to display for the rendered component. |
| value |
String |
| Required |
| The value attribute sets the current value for this component. |
| var |
String |
| Required |
| The var attribute sets the name of a request-scope attribute exposing the data for each iteration over the rows in the underlying data model for this table. |
| width |
String |
| |
| The width attribute specifies the width of this component. |
|