-
1. Re: scrollableDataTable: components in rows are cut off at t
steven.whatmore Feb 12, 2008 12:39 PM (in response to styx2000)We experienced the same problem and it was solved using the following:
<rich:column width="24px" style="sdt-column-details" cellStyle="overflow:visible;z-index:100;"> <a4j:commandButton id="chrDetials" styleClass="details-button" action="#{action.detials}" onclick="Richfaces.showModalPanel('detailsMP');"> <rich:toolTip direction="bottom-left" zorder="200" followMouse="true" layout="block" > <h:outputText styleClass="output-text-label-right" value="#{msgs['details.tooltip']}" /> </rich:toolTip> <a4j:actionparam name="id" value="#{details.id}" assignTo="#{action.id}"/> </a4j:commandButton> </rich:column>
Where I believe the important parts are the cellstyle attribute on the column and the attributes on the tooltip
I hope this helps.
Whatty -
2. Re: scrollableDataTable: components in rows are cut off at t
styx2000 Feb 12, 2008 12:49 PM (in response to styx2000)Great, it works, thanks a lot!
The attributecellStyle="overflow:visible"
on the column seems to be enough, although i didn't reallly test it very well yet.
Thanks again!
bye -
3. Re: scrollableDataTable: components in rows are cut off at t
styx2000 Feb 20, 2008 5:50 AM (in response to styx2000)Hello,
I spent quite some time on this problem and i still dont get it right. It's actually more a CSS problem, but i thought there are some people on this forum who already found a solution and can post their css-code.
When I use style="overflow:visible" then the tooltip is not cut off at the cell-border, but it overlays the next cell (so you can see the cell-content and the tooltip-content together, which is not readable off course).
Also it still gets cut off at the table border.
Target browser for the application is IE6.0. (It seems to work slightly better in Mozilla).
If somebody has found a way to use tooltips or context-menus or something like that in a richScrollableDataTable i would really appreciate some code.
@steven.whatmore:
does the tooltip work for you without overlaying neighbouring cells? and does it get cut off at the table border? if not, did you add some more css-styles to your table?
Thanks a lot,
bye