v
Tag dataGrid


The dataGrid Component is a grid component. It can be compared to the grid found in the list part of the modern file explorer. It allows sorts, resizing, contextual menus ...

The dataGrid Component has the following capabilities :



Tag Information
Tag Classorg.rcfaces.core.internal.taglib.DataGridTag
TagExtraInfo Classorg.rcfaces.core.internal.taglib.CameliaTagExtraInfo
Body ContentJSP
Display NameNone

Attributes
NameRequiredRequest-timeTypeDescription
idfalsetruejava.lang.StringA string specifying the identifier for this component. This value must be unique within the closest parent component that is a naming container.
bindingfalsefalsejavax.el.ValueExpression
(must evaluate to javax.faces.component.UIComponent)
The value binding expression linking this component to a property in a backing bean.
renderedfalsefalsejavax.el.ValueExpression
(must evaluate to boolean)
A boolean value indicating whether or not this component should be rendered (during Render Response Phase), or processed on any subsequent form submit.
saveCompleteStatefalsefalsejavax.el.ValueExpression
(must evaluate to boolean)
No Description
marginBottomfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
A string value specifying the margin size for the component's bottom (compliant to CSS margin-bottom).
marginLeftfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
A string value specifying the margin size for the component's left (compliant to CSS margin-left).
marginRightfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
A string value specifying the margin size for the component's right (compliant to CSS margin-right).
marginTopfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
A string value specifying the margin size for the component's top (compliant to CSS margin-top).
resetListenerfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Executed when the reset button is activated on a form. A string that represent a javascript expression to evaluate and eventually a server action to execute. the two parts are separated by a semi-column. If the javascript evaluation return false (by using the return keyword) the server action is not executed. The server action is represented by a binding.
keyUpListenerfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Executed when the component detects a key up event. A string that represent a javascript expression to evaluate and eventually a server action to execute. the two parts are separated by a semi-column. If the javascript evaluation return false (by using the return keyword) the server action is not executed. The server action is represented by a binding.
keyDownListenerfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Executed when the component detects a key down event. A string that represent a javascript expression to evaluate and eventually a server action to execute. the two parts are separated by a semi-column. If the javascript evaluation return false (by using the return keyword) the server action is not executed. The server action is represented by a binding.
keyPressListenerfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Executed when the component detects a key pressed event. A string that represent a javascript expression to evaluate and eventually a server action to execute. the two parts are separated by a semi-column. If the javascript evaluation return false (by using the return keyword) the server action is not executed. The server action is represented by a binding.
xfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
A string value (as specified by CSS) for the x position of the component.
yfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
A string value (as specified by CSS) for the x position of the component.
userEventListenerfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Executed when the component is called. A string that represent a javascript expression to evaluate and eventually a server action to execute. the two parts are separated by a semi-column. If the javascript evaluation return false (by using the return keyword) the server action is not executed. The server action is represented by a binding.
helpMessagefalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
A string value specifying the message to be shown by a helpMessageZone Component.
helpURLfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
An URL that points to a help page for the component. it is used for example by a helpButton Component.
toolTipTextfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
A string value specifying the tooltip for the component (shown when the pointe hover the component).
styleClassfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
A space-separated list of CSS style class(es) to be applied to the component. This value will be passed through as the "class" attribute on generated markup.
lookIdfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
A string value specifying the choosen look of the component.
widthfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
A string value (as specified by CSS) for the width of the component.
heightfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
A string value (as specified by CSS) for the height of the component.
blurListenerfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Executed when the focus quits the component. A string that represent a javascript expression to evaluate and eventually a server action to execute. the two parts are separated by a semi-column. If the javascript evaluation return false (by using the return keyword) the server action is not executed. The server action is represented by a binding.
focusListenerfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Executed when the component gets the focus. A string that represent a javascript expression to evaluate and eventually a server action to execute. the two parts are separated by a semi-column. If the javascript evaluation return false (by using the return keyword) the server action is not executed. The server action is represented by a binding.
backgroundColorfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
A color value (as specified by CSS) for the background.
foregroundColorfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
A color value (as specified by CSS) for the text.
visiblefalsefalsejavax.el.ValueExpression
(must evaluate to boolean)
A boolean value indicating wether the composant is visible.
errorListenerfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
No Description
waiRolefalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
No Description
sortManagerfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
No Description
sortListenerfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Executed when the component is sorted. A string that represent a javascript expression to evaluate and eventually a server action to execute. the two parts are separated by a semi-column. If the javascript evaluation return false (by using the return keyword) the server action is not executed. The server action is represented by a binding.
mouseOutListenerfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Executed when the pointer leaves the area of the component. A string that represent a javascript expression to evaluate.
mouseOverListenerfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Executed when the pointer hover the component's area. A string that represent a javascript expression to evaluate.
unlockedClientAttributeNamesfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
A string value holding a comma separated list of the client modifiable properties.
tabIndexfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.Integer)
An int value specifying the position of this element in the tabbing order for the current document. This value must be an integer between 0 and 32767.
initListenerfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Executed when the component is intialized. A string that represent a javascript expression to evaluate and eventually a server action to execute. the two parts are separated by a semi-column. If the javascript evaluation return false (by using the return keyword) the server action is not executed. The server action is represented by a binding.
propertyChangeListenerfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Executed when a component's property is changed (by javascript). A string that represent a javascript expression to evaluate and eventually a server action to execute. the two parts are separated by a semi-column. If the javascript evaluation return false (by using the return keyword) the server action is not executed. The server action is represented by a binding.
hiddenModefalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
A string value specifying the management of invisible state on the client. Authorized values are :
  • server : if not visible, nothing is sent to the client
  • phantom : if not visible, the data is sent to the client and the page estate is reserved for a futur eventual display of the component
  • ignore : if not visible, the data is sent to the client but no page estate is reserved
marginsfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
A string value specifying the margins for the component (compliant to CSS margin).
firstfalsefalsejavax.el.ValueExpression
(must evaluate to int)
A number identifying the row to be displayed at the top of the component.
varfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
A string value holding the name of a request-scope attribute under which the model data for the row selected by the current value of the "rowIndex" property (i.e. also the current value of the "rowData" property) will be exposed.
valuefalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.Object)
A string value holding the current value of the component.
rowsfalsefalsejavax.el.ValueExpression
(must evaluate to int)
An int value specifying the number of rows to display, starting with the one identified by the "first" property. If this value is set to zero, all available rows in the underlying data model will be displayed.
selectionListenerfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Executed when the component is selected. A string that represent a javascript expression to evaluate and eventually a server action to execute. the two parts are separated by a semi-column. If the javascript evaluation return false (by using the return keyword) the server action is not executed. The server action is represented by a binding.
selectablefalsefalsejavax.el.ValueExpression
(must evaluate to boolean)
A boolean value indicating wether the component can receive a user's selection
selectionCardinalityfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
A string value specifying the type of multiple selection authorized:
  • zeromany|*: any number of selections or none
  • one|1: one and only one selection
  • onemany|+: one or more selection
  • optionnal|?: none or one selection
selectedValuesfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.Object)
A table of the values associated with selected nodes for the component. (Binding only)
checkListenerfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Executed when the component is checked. A string that represent a javascript expression to evaluate and eventually a server action to execute. the two parts are separated by a semi-column. If the javascript evaluation return false (by using the return keyword) the server action is not executed. The server action is represented by a binding.
checkablefalsefalsejavax.el.ValueExpression
(must evaluate to boolean)
A boolean value indcating wether the component can be checked. cf. checkCardinality.
checkCardinalityfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
A string indicating the cardinality (number of check allowed) for this componenent.
checkedValuesfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.Object)
A table of the values associated with checked nodes for the component. (Binding only)
additionalInformationListenerfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
No Description
additionalInformationValuesfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.Object)
No Description
clientAdditionalInformationFullStatefalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
No Description
additionalInformationCardinalityfalsefalsejavax.el.ValueExpression
(must evaluate to int)
No Description
doubleClickListenerfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Executed when the component is double-clicked. A string that represent a javascript expression to evaluate and eventually a server action to execute. the two parts are separated by a semi-column. If the javascript evaluation return false (by using the return keyword) the server action is not executed. The server action is represented by a binding.
loadListenerfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Executed when the component is fully loaded (similar to init for AJAX). A string that represent a javascript expression to evaluate and eventually a server action to execute. the two parts are separated by a semi-column. If the javascript evaluation return false (by using the return keyword) the server action is not executed. The server action is represented by a binding.
requiredfalsefalsejavax.el.ValueExpression
(must evaluate to boolean)
A boolean value indicating that the user is required to provide a submitted value for this input component.
borderfalsefalsejavax.el.ValueExpression
(must evaluate to boolean)
A boolean value that indicates if the component should show a border or not.
rowStyleClassfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
A space-separated list of CSS style class(es) to be applied when the row is rendered. This value will be passed through as the "class" attribute on generated markup.
emptyDataMessagefalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
No Description
readOnlyfalsefalsejavax.el.ValueExpression
(must evaluate to boolean)
A boolean value indicating that this component will prohibit changes by the user. The element may receive focus unless it has also been disabled.
disabledfalsefalsejavax.el.ValueExpression
(must evaluate to boolean)
A boolean value that represents the disabled state of the component.
horizontalScrollPositionfalsefalsejavax.el.ValueExpression
(must evaluate to int)
A string value specifying the position of the horizontal scroolbar.
verticalScrollPositionfalsefalsejavax.el.ValueExpression
(must evaluate to int)
A string value specifying the position of the vertical scroolbar (Browser dependant).
filterPropertiesfalsefalsejavax.el.ValueExpression
(must evaluate to org.rcfaces.core.model.IFilterProperties)
A binded object that hold the filters to use on the server side. This property is often set via javascript code.
showValuefalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.Object)
No Description
keySearchColumnIdfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
No Description
preferencesfalsefalsejavax.el.ValueExpression
(must evaluate to org.rcfaces.core.preference.IComponentPreferences)
No Description
pagedfalsefalsejavax.el.ValueExpression
(must evaluate to boolean)
A boolean value specifying wether the results should be displayed by page (thus letting the user choose what page to display via the pager). It is ignored if the attribute "rows" is undefined. The default value is true. If "rows" is defined and "paged"'s value is set to false, pages are downloaded automatically when the last displayed row is selected.
clientSelectionFullStatefalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
A boolean value indicating wether the client should know about the component's full state even if only a part of the data is present (AJAX).
clientCheckFullStatefalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
A boolean value indicating wether the client should know about the component's full state even if only a part of the data is present (AJAX).
headerVisiblefalsefalsejavax.el.ValueExpression
(must evaluate to boolean)
A boolean value indicating wether the header should be visible.
cursorValuefalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.Object)
No Description
rowValueColumnIdfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
An id for the column containing the key for the row.
rowCountVarfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
A string value specifying the name of the variable receiving the number of rows.
rowIndexVarfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
A string value specifying the name of the variable receiving the index of the current row.
cellTextWrapfalsefalsejavax.el.ValueExpression
(must evaluate to boolean)
No Description
actionfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
A string that indicates the url to activate on the server when the component is actionned through a key mapping on the faces config file.
actionListenerfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Executed when the the component is activated by the user. A string that represent a javascript expression to evaluate and eventually a server action to execute. the two parts are separated by a semi-column. If the javascript evaluation return false (by using the return keyword) the server action is not executed. The server action is represented by a binding.

Variables
No Variables Defined.


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.