Overview | Library | Tag | Help
| FRAMES NO FRAMES

## RichFaces
Tag dataTable

Tag Information
Tag Class | org.richfaces.taglib.DataTableTag
TagExtraInfo Class | None
Body Content | JSP
Display Name | None

Attributes
Name | Required | Request-time | Type | Description
width | false | false | `java.lang.String` | This attribute specifies the desired width of the entire table and is intended for visual user agents. When the value is percentage value, the value is relative to the user agent's available horizontal space. In the absence of any width specification, table width is determined by the user agent
stateVar | false | false | `java.lang.String` | The attribute provides access to a component state on the client side
onRowClick | false | false | `java.lang.String` | HTML: a script expression; a pointer button is clicked on row
rowKeyVar | false | false | `java.lang.String` | The attribute provides access to a row key in a Request scope
onRowDblClick | false | false | `java.lang.String` | HTML: a script expression; a pointer button is double-clicked on row
columns | false | false | `java.lang.String` | Quantity of columns
id | false | false | `java.lang.String` | Every component may have a unique id that is automatically created if omitted
dir | false | false | `java.lang.String` | Direction indication for text that does not inherit directionality. Valid values are "LTR" (left-to-right) and "RTL" (right-to-left)
rowKey | false | false | `java.lang.String` | RowKey is a representation of an identifier for a specific data row
style | false | false | `java.lang.String` | CSS style(s) is/are to be applied when this component is rendered
summary | false | false | `java.lang.String` | This attribute provides a summary of the table's purpose and structure for user agents rendering to non-visual media such as speech and Braille
var | false | false | `java.lang.String` | A request-scope attribute via which the data object for the current row will be used when iterating
onRowMouseOver | false | false | `java.lang.String` | HTML: a script expression; a pointer is moved onto of row
rows | false | false | `java.lang.String` | A number of rows to display, or zero for all remaining rows in the table
onRowMouseUp | false | false | `java.lang.String` | HTML: script expression; a pointer button is released on row
lang | false | false | `java.lang.String` | Code describing the language used in the generated markup for this component
columnClasses | false | false | `java.lang.String` | Comma-delimited list of CSS style classes that are be applied to the columns of this table. A space separated list of classes may also be specified for any individual column. If the number of elements in this list is less than the number of columns specified in the "columns" attribute, no "class" attribute is output for each column greater than the number of elements in the list. If the number of elements in the list is greater than the number of columns specified in the "columns" attribute, the elements at the position in the list after the value of the "columns" attribute are ignored
first | false | false | `java.lang.String` | A zero-relative row number of the first row to display
cellspacing | false | false | `java.lang.String` | This attribute specifies the amount of space between the border of the cell and its contents. The attribute also specifies the amount of space to leave between cells
headerClass | false | false | `java.lang.String` | Space-separated list of CSS style class(es) that are be applied to header for this component
onRowMouseOut | false | false | `java.lang.String` | HTML: a script expression; a pointer is moved away of row
binding | false | false | `java.lang.String` | The attribute takes a value-binding expression for a component property of a backing bean
cellpadding | false | false | `java.lang.String` | This attribute specifies the amount of space between the border of the cell and its contents
title | false | false | `java.lang.String` | Advisory title information about markup elements generated for this component
rowClasses | false | false | `java.lang.String` | A comma-delimited list of CSS style classes that is applied to popup table rows. A space separated list of classes may also be specified for any individual row. The styles are applied, in turn, to each row in the table. For example, if the list has two elements, the first style class in the list is applied to the first row, the second to the second row, the first to the third row, the second to the fourth row, etc. In other words, we keep iterating through the list until we reach the end, and then we start at the beginning again
rules | false | false | `java.lang.String` | This attribute specifies which rules will appear between cells within a table. The rendering of rules is user agent dependent. Possible values: * none: No rules. This is the default value. * groups: Rules will appear between row groups (see THEAD, TFOOT, and TBODY) and column groups (see COLGROUP and COL) only. * rows: Rules will appear between rows only. * cols: Rules will appear between columns only. * all: Rules will appear between all rows and columns
componentState | false | false | `java.lang.String` | It defines EL-binding for a component state for saving or redefinition
rendered | false | false | `java.lang.String` | If "false", this component is not rendered
onRowMouseDown | false | false | `java.lang.String` | HTML: script expression; a pointer button is pressed down on row
footerClass | false | false | `java.lang.String` | Space-separated list of CSS style class(es) that are be applied to footer for this component
captionStyle | false | false | `java.lang.String` | CSS style(s) is/are to be applied to caption when this component is rendered
styleClass | false | false | `java.lang.String` | Corresponds to the HTML class attribute
ajaxKeys | false | false | `java.lang.String` | This attribute defines rows that are updated after an AJAX request
captionClass | false | false | `java.lang.String` | Space-separated list of CSS style class(es) that are be applied to caption for this component
align | false | false | `java.lang.String` | left|center|right [CI] Deprecated. This attribute specifies the position of the table with respect to the document. Permitted values: * left: The table is to the left of the document. * center: The table is to the center of the document. * right: The table is to the right of the document
bgcolor | false | false | `java.lang.String` | Deprecated. This attribute sets the background color for the document body or table cells. This attribute sets the background color of the canvas for the document body (the BODY element) or for tables (the TABLE, TR, TH, and TD elements). Additional attributes for specifying text color can be used with the BODY element. This attribute has been deprecated in favor of style sheets for specifying background color information
border | false | false | `java.lang.String` | This attributes specifies the width of the frame around a component
value | false | false | `java.lang.String` | The current value for this component
onRowMouseMove | false | false | `java.lang.String` | HTML: a script expression; a pointer is moved within of row
frame | false | false | `java.lang.String` | void|above|below|hsides|lhs|rhs|vsides|box|border [CI] This attribute specifies which sides of the frame surrounding a table will be visible. Possible values: * void: No sides. This is the default value. * above: The top side only. * below: The bottom side only. * hsides: The top and bottom sides only. * vsides: The right and left sides only. * lhs: The left-hand side only. * rhs: The right-hand side only. * box: All four sides. * border: All four sides
columnsWidth | false | false | `java.lang.String` | Comma-separated list of width attribute for every column. Specifies a default width for each column in the table. In addition to the standard pixel, percentage, and relative values, this attribute allows the special form "0*" (zero asterisk) which means that the width of the each column in the group should be the minimum width necessary to hold the column's contents. This implies that a column's entire contents must be known before its width may be correctly computed. Authors should be aware that specifying "0*" will prevent visual user agents from rendering a table incrementally

Variables
| No Variables Defined.

Overview | Library | Tag | Help
| FRAMES NO FRAMES

Output Generated by Tag Library Documentation Generator. Java, JSP, and JavaServer Pages are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries. Copyright 2002-4 Sun Microsystems, Inc. 4150 Network Circle Santa Clara, CA 95054, U.S.A. All Rights Reserved.