rich
Tag dataTable


The <rich:dataTable> component is used to render a table, including the table's caption. It works in conjunction with the <rich:column> and <rich:columnGroup> components to list the contents of a data model.

@author Anton Belevich


Tag Information
Component type org.richfaces.DataTable
Tag Name rich:dataTable
Renderer Type org.richfaces.DataTableRenderer
Handler Class org.richfaces.taglib.DataTableHandler

Attributes
Name Required Type Description
binding false javax.faces.component.UIComponent The value binding expression used to wire up this component to a component property of a JavaBean class
captionClass false java.lang.String Assigns one or more space-separated CSS class names to the component caption
columnClasses false java.lang.String Assigns one or more space-separated CSS class names to the columns of the table. If the CSS class names are comma-separated, each class will be assigned to a particular column in the order they follow in the attribute. If you have less class names than columns, the class will be applied to every n-fold column where n is the order in which the class is listed in the attribute. If there are more class names than columns, the overflow ones are ignored.
filterVar false java.lang.String Name of the variable used in EL expression provided in filterExpression in order to decide about displaying particular row.
first false int A zero-relative row number of the first row to display
footerClass false java.lang.String Assigns one or more space-separated CSS class names to the table footer
headerClass false java.lang.String Assigns one or more space-separated CSS class names to the table header
id false java.lang.String The component identifier for this component. This value must be unique within the closest parent component that is a naming container.
iterationStatusVar false java.lang.String Provides access to the iteration status in a Request scope
keepSaved false boolean Boolean attribute that defines whether this iteration component will reset saved children's state before rendering. By default state is reset if there are no faces messages with severity error or higher
noDataLabel false java.lang.String The label to be displayed when table contains no rows (no data provided).
onrowclick false java.lang.String Javascript code executed when a pointer button is clicked over table row.
onrowdblclick false java.lang.String Javascript code executed when a pointer button is double clicked over table row.
onrowkeydown false java.lang.String Javascript code executed when a key is pressed down over the table row.
onrowkeypress false java.lang.String Javascript code executed when a key is pressed and released over the table row.
onrowkeyup false java.lang.String Javascript code executed when a key is released over the table row.
onrowmousedown false java.lang.String Javascript code executed when a pointer button is pressed down over table row.
onrowmousemove false java.lang.String Javascript code executed when a pointer button is moved within the table row.
onrowmouseout false java.lang.String Javascript code executed when a pointer button is moved away from the table row.
onrowmouseover false java.lang.String Javascript code executed when a pointer button is moved onto the table row.
onrowmouseup false java.lang.String Javascript code executed when a pointer button is released over the table row.
rendered false boolean Flag indicating whether or not this component should be rendered (during Render Response Phase), or processed on any subsequent form submit. The default value for this property is true.
rowClass false java.lang.String Assigns one or more space-separated CSS class names to the table cells
rowClasses false java.lang.String Assigns one or more space-separated CSS class names to the rows of the table. If the CSS class names are comma-separated, each class will be assigned to a particular row in the order they follow in the attribute. If you have less class names than rows, the class will be applied to every n-fold row where n is the order in which the class is listed in the attribute. If there are more class names than rows, the overflow ones are ignored.
rowKeyConverter false javax.faces.convert.Converter Converter for a row key object
rowKeyVar false java.lang.String Provides access to the row key in a Request scope
rows false int A number of rows to display, or zero for all remaining rows in the table
sortMode false org.richfaces.model.SortMode Specifies when table will be sorted according to one column (single) or multiple columns (multi).
sortPriority false java.util.Collection Comma-separated list of column names determining priority of row sorting.
stateVar false java.lang.String Provides access to the state in a Request scope
style false java.lang.String CSS style(s) to be applied when this component is rendered.
styleClass false java.lang.String Space-separated list of CSS style class(es) to be applied when this element is rendered. This value must be passed through as the "class" attribute on generated markup.
value false java.lang.Object Points to the data model
var false java.lang.String A request-scope attribute via which the data object for the current row will be used when iterating


Output Generated by Tag Library Documentation Generator.