The <rich:extendedDataTable> component builds on the functionality of the <rich:dataTable> component, adding
features such as scrolling for the table body (both horizontal and vertical), Ajax loading for vertical scrolling, frozen
columns, row selection, and rearranging of columns. It also supports all the basic table features such as sorting, filtering,
and paging using the <rich:dataScroller> component.
@author Konstantin Mishin
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 |
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 |
frozenColumns |
false |
int |
Determines how many columns should not be vertically scrollable (should be "frozen"). |
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). |
onbeforeselectionchange |
false |
java.lang.String |
The client-side script method to be called before the selection is changed. |
onready |
false |
java.lang.String |
The client-side script method to be called after the EDT has been initialized, either after a page load, and an ajax update. |
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. |
onselectionchange |
false |
java.lang.String |
The client-side script method to be called after the selection is changed. |
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 |
selection |
false |
java.util.Collection |
The collection of keys for currently selected table rows (generated from data model by rowKeyConverter). |
selectionMode |
false |
org.richfaces.model.SelectionMode |
Defines selection mode for the table: none, single (only one row can be selected), multiple (Ctrl/Shift keys are used for
multi-selection), multipleKeyboardFree (clicks are used for multi-selection)
|
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 |