Hi folks,
I have a layout problem with using the subtable.
When i used the subtable in combination with a filterfield on a column, i get a extra column in the row where the filter is displayed.
I have found a jira for this problem but they say it should work.... but i don't think they tested it in combination with a filter
https://jira.jboss.org/jira/browse/RF-3786
<rich:dataTable value="#{configureCarrierBean.countryCarrierTransitCountryList}" var="countryCarrierTransitCountry" width="600px;" rows="10" reRender="carrierTransitCountryDs" rendered="#{not empty configureCarrierBean.countryCarrierTransitCountryList}" onRowMouseOver="this.style.backgroundColor='#F8F8F8'" onRowMouseOut="this.style.backgroundColor='#{a4jSkin.tableBackgroundColor}'"> <f:facet name="header"> <rich:columnGroup> <rich:column>#{msg.destination}</rich:column> <rich:column>#{msg.transitCountry}</rich:column> <rich:column>#{msg.beginDate}</rich:column> <rich:column>#{msg.endDate}</rich:column> <rich:column> </rich:column> </rich:columnGroup> </f:facet> <rich:column filterBy="#{countryCarrierTransitCountry.countryDescription.description}" filterEvent="onkeyup"> #{countryCarrierTransitCountry.countryDescription.description} </rich:column> <rich:column> ... </rich:column> <rich:column> </rich:column> <rich:column> </rich:column> <rich:column> </rich:column> <rich:subTable onRowMouseOver="this.style.backgroundColor='#F8F8F8'" onRowMouseOut="this.style.backgroundColor='#{a4jSkin.tableBackgroundColor}'" var="transit" value="#{countryCarrierTransitCountry.transits}"> <rich:column> </rich:column> <rich:column> ... </rich:column> <rich:column> ... </rich:column> <rich:column> ... </rich:column> <rich:column> ... </rich:column> </rich:subTable> <f:facet name="footer"> <rich:datascroller id="carrierTranitCountryDs" renderIfSinglePage="false"></rich:datascroller> </f:facet> </rich:dataTable>[/url]
duplicated thread.