[ 
http://issues.apache.org/jira/browse/MYFACES-1006?page=comments#action_12361869 
] 

Volker Weber commented on MYFACES-1006:
---------------------------------------

have you tried:

rowOnMouseOver="this.className=this.className + ' reportRowOver'"
rowOnMouseOut="this.className=this.className.replace('reportRowOver', '")" 

> Datatable do not support multple o
> ----------------------------------
>
>          Key: MYFACES-1006
>          URL: http://issues.apache.org/jira/browse/MYFACES-1006
>      Project: MyFaces
>         Type: Improvement
>     Reporter: Guy Bashan

>
> Data tables usually have the following look and feel:
> 1) rows are light/dark.
> 2) when moving over a row it is shown selected.
> For showing rows light/dark it is possible to do:
> rowClasses="reportRowLight,reportRowDark"
> For showing selected row it is possible to do:
> rowOnMouseOver="this.className='reportRowOver'"
> rowOnMouseOut="this.className='reportRowLight'"
> but, it is not possible restoring the previous color of the row before the 
> selection. since: rowOnMouseOut property do not support multiple rows. for 
> example, something like this:
> rowOnMouseOver="this.className='reportRowOver'"
> rowOnMouseOut="this.className='reportRowLight',this.className='reportRowLight'"

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to