### Create new RichFaces Documentation Jira issue

Summary
255 characters left
Description
Environment
This will launch the RichFaces Jira page - to complete your feedback please login if needed, and submit the Jira.

JBoss.org Community Documentation

- Prev
- Next

### 6.6.14. < rich:scrollableDataTable > available since 3.1.0

expand all

#### 6.6.14.1. Description

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.

Figure 6.73. <rich:scrollableDataTable> component

#### 6.6.14.2. Key Features

- Highly customizable look and feel

- Variable content of the table cells

- Dynamically fetching the rows from the server when the table is scrolled up and down

- Resizing columns by mouse dragging the column bar

- Sorting column by clicking the header

- Fixed one or more left columns when table is scrolled horizontally

- One and multi-selection rows mode

- Built-it drag-n-drop support

- Sorting column values

Table 6.119. rich : scrollableDataTable attributes

Attribute Name | Description
--- | ---
activeClass | Assigns one or more space-separated CSS class names to the component active row
activeRowKey | Request scope attribute under which the activeRowKey will be accessible
ajaxKeys | This attribute defines row keys that are updated after an AJAX request
binding | JSF: The attribute takes a value-binding expression for a component property of a backing bean
bypassUpdates | 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 | JSF: 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.
componentState | It defines EL-binding for a component state for saving or redefinition
data | Serialized (on default with JSON) data passed on the client by a developer on AJAX request. It's accessible via "data.foo" syntax
eventsQueue | 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 | A zero-relative row number of the first row to display
footerClass | Assigns one or more space-separated CSS class names to any footer generated for this component
frozenColCount | Defines the number of the fixed columns from the left side that will not be scrolled via horizontal scroll. Default value is "0".
headerClass | Assigns one or more space-separated CSS class names to any header generated for this component
height | Defines a height of the component. Default value is "500px".
hideWhenScrolling | If "true" data will be hidden during scrolling. Can be used for increase performance. Default value is "false".
id | JSF: Every component may have a unique id that is automatically created if omitted
ignoreDupResponses | 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 | The client-side script method to be called when the row is clicked
onRowDblClick | The client-side script method to be called when the row is double-clicked
onRowMouseDown | The client-side script method to be called when a mouse button is pressed down over the row
onRowMouseUp | The client-side script method to be called when a mouse button is released over the row
onselectionchange | The client side script method to be called when a selected row is changed
rendered | JSF: If "false", this component is not rendered
requestDelay | 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
reRender | 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
rowClasses | JSF: 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 | Converter for a row key object
rowKeyVar | The attribute provides access to a row key in a Request scope
rows | HTML: A number of rows to display, or zero for all remaining rows in the table
scriptVar | Name of JavaScript variable corresponding to component
selectedClass | Assigns one or more space-separated CSS class names to the component rows selected
selection | Value binding representing selected rows
selectionMode | Defines selection behaviour, provides an enumeration of the possible selection modes. Default value is "multi"
similarityGroupingId | If there are any component requests with identical IDs then these requests will be grouped.
sortMode | Defines mode of sorting. Possible values are 'single' for sorting of one column and 'multi' for some.
sortOrder | ValueBinding pointing at a property of a class to manage rows sorting
stateVar | The attribute provides access to a component state on the client side
status | ID (in format of call UIComponent.findComponent()) of Request status component
style | HTML: CSS style rules to be applied to the component
styleClass | JSF: Assigns one or more CSS class names to the component. Corresponds to the HTML "class" attribute.
timeout | Response waiting time on a particular request. If a response is not received during this time, the request is aborted
value | JSF: The current value for this component
var | A request-scope attribute via which the data object for the current row will be used when iterating
width | HTML: Defines a width of the component. Default value is "700px".

- Prev6.6.13. < a4j:repeat > ...
- Top of page
- Front page
- Next6.7. Drag-Drop Support