3 Replies Latest reply on Jun 24, 2009 7:32 AM by ramy Hassan

    problem  in ..Data Table Header when the table is Empty.?

    ramy Hassan Novice

      Hello ,

      I've a problem in data Table Header when there are no data in the table the header stretch to take along height
      this is my Code :

      <rich:dataTable height="100px" width="122px"
       id="mandatoryServicesDataTable" rows="3"
       var="MandSrv" reRender="ds">
       <f:facet name="header">
       <rich:column colspan="1">
       <h:outputText value="Mandatory Services" styleClass="tableHeaderLabel" />
       <rich:column breakBefore="true">
       <h:outputText value="Service Name" styleClass="tableHeaderLabel" />
       <h:outputText id="serviceNameTxt" value="#{MandSrv}" />
       <f:facet name="footer">
       <rich:datascroller id="ds" renderIfSinglePage="false"></rich:datascroller>

      so i need to make header with fixed height , i've tried styles of rich table header but nothing change when table is empty the same problem

      so what shall i do ?