1 Reply Latest reply on Sep 10, 2009 11:32 AM by Nick Belaevski

    input component for custom filter hides column header

    Martin Denham Newbie

      In a datatable column's header facet I have column header text and an input component for a custom filter. However, the header "THIS TEXT IS NOT DISPLAYED" is not displayed.

      If I remove the input component the header text is correctly displayed.

      E.g.

      <rich:dataTable value="#{bean.gmcisDataModel}" var="gmci" id="gmcisId" >
       <rich:column filterMethod="#{bean.filterGmci}" filterEvent="onkeyup">
       <f:facet name="header">
       <h:outputText value="THIS TEXT IS NOT DISPLAYED" />
       <h:inputText value="#{bean.filterValue}" id="filterValue">
       <a4j:support event="onkeyup" reRender="gmcisId"/>
       </h:inputText>
       </f:facet>
       <h:outputText value="#{gmci.gmciName}" />
       </rich:column>
      

      Thanks
      Martin