5 Replies Latest reply on Jun 11, 2008 10:48 AM by styx2000

    tooltip in datatable header

    styx2000

      Hello, i have a problem with tooltips in datatable headers. Only a very small tooltip window without any content is shown. It works fine in regular table cells.

      My source code looks like this:

      <rich:column width="100px" sortBy="#{elem.id.agreementid}" >
      <f:facet name="header">
      <a4j:outputPanel layout="block">
      <rich:toolTip direction="top-right" mode="ajax" showDelay="300" styleClass="tooltip" layout="block">
      <h:outputText styleClass="number" value="test-tooltip header" />
      </rich:toolTip>
      <h:outputText value="header" />
      </a4j:outputPanel>
      </f:facet>
      
      <a4j:outputPanel layout="block">
      <rich:toolTip direction="top-right" mode="ajax" showDelay="300" styleClass="tooltip" layout="block">
      <h:outputText styleClass="number" value="test-tooltip" />
      </rich:toolTip>
      <h:outputText styleClass="number" value="#{elem.id.agreementid}">
      </h:outputText>
      </a4j:outputPanel>
      </rich:column>
      


      The tooltip works fine in the regular table cells, but not in the header.

      Thanks for your help.