0 Replies Latest reply on Dec 15, 2008 3:59 PM by timeout42

    ToolTips in DataTable Column Headers

      Good Day All,

      I'm trying to get a simple tooltip to work inside the header of a column in a data table.

      Looks like this:

      <rich:column >
       <f:facet name="header">
       <h:graphicImage value="../../img/GreenCheckmark.png" onclick="checkAll('tbForm','selectAllNone');">
       <rich:toolTip><span>Click to toggle select all or none</span></rich:toolTip>
       </h:graphicImage>
       </f:facet>
       <h:selectBooleanCheckbox id="sel" value="${tb.selected}"></h:selectBooleanCheckbox>
      </rich:column>
      


      the checkAll() is just a simple JS function to toggle the checkboxes.

      The snipped above renders the graphic (green checkmark), but the tooltip does not appear.

      My question to group is: Do ToolTips work in the column headers? If so, is there some magic to making them work?

      Thanks!
      Sean