2 Replies Latest reply on Oct 30, 2009 1:18 AM by ashutosh deora

    problem with rich:subDataTable - extra <th> still coming

    ashutosh deora Newbie

      this issue have already been solved in JIRA

      there is still a problem with the extra th

      <rich:dataTable value="#{capitalsBean.capitals}" var="capital">
       <f:facet name="header">Capital Name</f:facet>
       <f:facet name="header">Property Name</f:facet>
       <f:facet name="header">Property Value</f:facet>
      <rich:subTable value="#{capital.detailList}" var="detail">
       <rich:column />
       <h:outputText value="#{detail.key}" />
       <h:outputText value="#{detail.value}" />

      the example to this problem is in richfaces live demo as refered

      this dataTable in the above is using <rich:columnGroup>
      it is fine when using the property
      but the dataTable losses some of its property like ---- sortBy , which is one of the features in dataTable
      if this is the case then is there any solution to this that i will retain the like ---- sortBy and doesnot face the problem of of extra

      if <rich:columnGroup> is the only solution please comment on this
      and another way i can use <rich:subDataTable> and donot get the extra

      for the use i have taken a screen shot of the view and posting it here

      the screenshot is not releated to the example code i have given above but it follows the same pattern

      please see the link for the screen shot