-
1. Re: rich:toolTip for datatable row
rschoeler Feb 17, 2009 10:32 AM (in response to depy)Hi depy, the online-demo show an example for this case:
http://livedemo.exadel.com/richfaces-demo/richfaces/toolTip.jsf?tab=table&cid=786740
But if you want it a little bit easier, e.g. showing the tooltip for an image/similar text eg. you can add simple rich:toolTip inside rich:column<rich:toolTip styleClass="tooltip" ...add your needed attributes here...value="My important message for you">
regards
rschoele -
2. Re: rich:toolTip for datatable row
depy Feb 18, 2009 2:15 AM (in response to depy)I know I can do that. But I want the tooltip for the whole row. I dont want to copy past code for each column. Is there no other way?
-
3. Re: rich:toolTip for datatable row
rschoeler Feb 18, 2009 4:36 AM (in response to depy)Hi depy, sorry for misreading. Don't know if it's possible - have you tried to put some container around the whole row e.g a4j:outputPanel with an id and assign tooltip to this id with for attribute of tooltip?
I'm not at home therefore I can't try what's the result of this....
But be aware of this open issue:
https://jira.jboss.org/jira/browse/RF-3977
regards rschoele -
4. Re: rich:toolTip for datatable row
nbelaevski Feb 18, 2009 3:31 PM (in response to depy)You can use onRowMouseOver and onRowMouseOut events of dataTable and show tooltip using either rich:componentControl or calling JS API directly.