Overview | Library | Tag | Help
| FRAMES NO FRAMES

## RichFaces
Tag scrollableDataTable

The <rich:scrollableDataTable> component is used for the table-like component creation. The component just adds the set of additional features described below in comparison with the standard table.

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

Attributes
Name | Required | Request-time | Type | Description
activeClass | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | A CSS class to be applied to an active row
activeRowKey | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.Object`) | Request scope attribute under which the activeRowKey will be accessible
ajaxKeys | false | false | `javax.el.ValueExpression` (must evaluate to `java.util.Set`) | This attribute defines row keys that are updated after an AJAX request
binding | false | false | `javax.el.ValueExpression` (must evaluate to `javax.faces.component.UIComponent`) | The attribute takes a value-binding expression for a component property of a backing bean
bypassUpdates | false | false | `javax.el.ValueExpression` (must evaluate to `boolean`) | If "true", after process validations phase it skips updates of model beans on a force render response. It can be used for validating components input
columnClasses | false | false | `javax.el.ValueExpression` (must evaluate to `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
componentState | false | false | `javax.el.ValueExpression` (must evaluate to `org.ajax4jsf.model.DataComponentState`) | It defines EL-binding for a component state for saving or redefinition
data | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.Object`) | Serialized (on default with JSON) data passed on the client by a developer on AJAX request. It's accessible via "data.foo" syntax
eventsQueue | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | Name of requests queue to avoid send next request before complete other from same event. Can be used to reduce number of requests of frequently events (key press, mouse move etc.)
first | false | false | `javax.el.ValueExpression` (must evaluate to `int`) | A zero-relative row number of the first row to display
footerClass | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | Space-separated list of CSS style class(es) that are be applied to any footer generated for this table
frozenColCount | false | false | `javax.el.ValueExpression` (must evaluate to `int`) | Defines the number of the fixed columns from the left side that will not be scrolled via horizontal scroll. Default value is "0".
headerClass | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | Space-separated list of CSS style class(es) that are be applied to any header generated for this table
height | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | Defines a height of the component. Default value is "500px".
hideWhenScrolling | false | false | `javax.el.ValueExpression` (must evaluate to `boolean`) | If "true" data will be hidden during scrolling. Can be used for increase performance. Default value is "false".
id | false | false | `java.lang.String` | Every component may have a unique id that is automatically created if omitted
ignoreDupResponses | false | false | `javax.el.ValueExpression` (must evaluate to `boolean`) | Attribute allows to ignore an Ajax Response produced by a request if the newest 'similar' request is in a queue already. ignoreDupResponses="true" does not cancel the request while it is processed on the server, but just allows to avoid unnecessary updates on the client side if the response isn't actual now
onRowClick | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | HTML: a script expression; a pointer button is clicked on row
onRowDblClick | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | HTML: a script expression; a pointer button is double-clicked on row
onRowMouseDown | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | HTML: script expression; a pointer button is pressed down on row
onRowMouseUp | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | HTML: script expression; a pointer button is released on row
onselectionchange | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | HTML: script expression to invoke on changing of rows selection
reRender | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.Object`) | Id['s] (in format of call UIComponent.findComponent()) of components, rendered in case of AjaxRequest caused by this component. Can be single id, comma-separated list of Id's, or EL Expression with array or Collection
rendered | false | false | `javax.el.ValueExpression` (must evaluate to `boolean`) | If "false", this component is not rendered
requestDelay | false | false | `javax.el.ValueExpression` (must evaluate to `int`) | Attribute defines the time (in ms.) that the request will be wait in the queue before it is ready to send. When the delay time is over, the request will be sent to the server or removed if the newest 'similar' request is in a queue already
rowClasses | false | false | `javax.el.ValueExpression` (must evaluate to `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
rowKeyConverter | false | false | `javax.el.ValueExpression` (must evaluate to `javax.faces.convert.Converter`) | Converter for a row key object
rowKeyVar | false | false | `java.lang.String` | The attribute provides access to a row key in a Request scope
rows | false | false | `javax.el.ValueExpression` (must evaluate to `int`) | A number of rows to display, or zero for all remaining rows in the table
scriptVar | false | false | `java.lang.String` | Name of JavaScript variable corresponding to component
selectedClass | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | Name of the CSS class for a selected row
selection | false | false | `javax.el.ValueExpression` (must evaluate to `org.richfaces.model.selection.Selection`) | Value binding representing selected rows
similarityGroupingId | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | If there are any component requests with identical IDs then these requests will be grouped.
sortMode | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | Defines mode of sorting. Possible values are 'single' for sorting of one column and 'multi' for some.
sortOrder | false | false | `javax.el.ValueExpression` (must evaluate to `org.richfaces.model.SortOrder`) | ValueBinding pointing at a property of a class to manage rows sorting
stateVar | false | false | `java.lang.String` | The attribute provides access to a component state on the client side
status | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | ID (in format of call UIComponent.findComponent()) of Request status component
style | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | CSS style(s) is/are to be applied when this component is rendered
styleClass | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | Corresponds to the HTML class attribute
timeout | false | false | `javax.el.ValueExpression` (must evaluate to `int`) | Response waiting time on a particular request. If a response is not received during this time, the request is aborted
value | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.Object`) | The current value for this component
var | false | false | `java.lang.String` | A request-scope attribute via which the data object for the current row will be used when iterating
width | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | Defines a width of the component. Default value is "700px".

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.