-
1. Re: Changed from rich:dataTable to rich:scrollableDataTable
annechou Feb 28, 2008 1:05 PM (in response to oneilltg)I have done the same thing - ported a RichFaces dataTable to a scrollableDataTable. My scrollableDataTable looks something like this:
<a:outputPanel id="searchResults">
<f:facet name="header">
<h:outputText value="Search Results"/>
</f:facet>
<rich:spacer width="15" height="15" />
<h:outputText value="No Assets Found"
rendered="#{empty(displayedItemsList)}"/>
<rich:scrollableDataTable frozenColCount="1"
height="200px" width="900px" id="viewItemsTable"
value="#{displayedItemsList}" var="item" sortMode="single"
rendered="#{!empty(displayedItemsList)}" >
<rich:column id="description" sortable="true">
<f:facet name="header">Description</f:facet>
<h:outputText id="itemDesc"
value="#{item.description}">
<rich:toolTip direction="top-right"
showDelay="300" styleClass="tooltip"
immediate="true" layout="block">
<h:panelGrid columns="4">
<f:facet name="header">
<h:outputText value="Asset Details:" />
</f:facet>
<h:outputText value="id:" style="font-weight:bold;" />
<h:outputText value="#{item.id}" />
...
</h:panelGrid>
</rich:toolTip>
</h:outputText>
</rich:column>
...
</rich:scrollableDataTable>
This tooltip works fine in a regular dataTable. In the scrollableDataTable, I see 2 issues.
1. The tooltip only appears if the cell is entered from the bottom.
2. The tooltip appears, but it is only a few pixels high/wide with no text visible inside of the tooltip box.
Any ideas would be greatly appreciated! -
2. Re: Changed from rich:dataTable to rich:scrollableDataTable
annechou Feb 28, 2008 2:54 PM (in response to oneilltg)I forgot to mention that I'm using RichFaces 3.1.4.GA.
-
3. Re: Changed from rich:dataTable to rich:scrollableDataTable
ilya_shaikovsky Feb 29, 2008 4:23 AM (in response to oneilltg)tooltip with scrollable issues already in jira.