[ 
https://jira.jboss.org/jira/browse/RF-3786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12491991#action_12491991
 ] 

ashutosh commented on RF-3786:
------------------------------

for your use i am putting up a screenshot for this 
http://img35.imageshack.us/i/posted.png/

> subTable in dataTable adds additional <th>
> ------------------------------------------
>
>                 Key: RF-3786
>                 URL: https://jira.jboss.org/jira/browse/RF-3786
>             Project: RichFaces
>          Issue Type: Bug
>          Components: planning_all
>    Affects Versions: 3.2.0.SR1, 3.2.1
>         Environment: RF-3.2.[01], JSF-RI implementation
>            Reporter: Andreas Heiduk
>            Assignee: Nick Belaevski
>             Fix For: 3.3.0
>
>   Original Estimate: 4 hours
>  Remaining Estimate: 4 hours
>
> As soon as a dataTable contains both subTable and a column "header" facet an 
> additional <th> element is rendered.
> Example:
> <rich:dataTable value="#{capitalsBean.capitals}" var="capital">
>       <rich:column>
>               <f:facet name="header">Capital Name</f:facet>
>               <h:outputText value="#{capital.name}" />
>       </rich:column>
>       <rich:column>
>               <f:facet name="header">Property Name</f:facet>
>       </rich:column>
>       <rich:column>
>               <f:facet name="header">Property Value</f:facet>
>       </rich:column>
>       <rich:subTable value="#{capital.detailList}" var="detail">
>               <rich:column />
>               <rich:column>
>                       <h:outputText value="#{detail.key}" />
>               </rich:column>
>               <rich:column>
>                       <h:outputText value="#{detail.value}" />
>               </rich:column>
>       </rich:subTable>
> </rich:dataTable>
> Now <thead> contains *four* <th> elements instead of three. The last <th> 
> element looks like this:
>         <th class="dr-table-subheadercell rich-table-subheadercell" 
> scope="col"/>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
richfaces-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/richfaces-issues

Reply via email to