rich:scrollableDataTable rendering issue
shiocaltz Sep 26, 2008 11:29 AMhello, i am trying to use the scrollableDataTable with a header that is on 2 rows and a column which spans 3 columns: here is the code:
<rich:scrollableDataTable id="versementsTable"
width="1200px"
var="versement"
rows="40"
eventsQueue="jxeeQueue"
value="#{versementsAdaptor.versementsGridData}">
<f:facet name="header">
<rich:columnGroup>
<rich:column rowspan="2">
<h:outputText value="#{msg.opCode}" id="opCodeLabel"/>
</rich:column>
<rich:column rowspan="2">
<h:outputText value="#{msg.typeEnreg}" id="typeEnregLabel" />
</rich:column>
<rich:column rowspan="2">
<h:outputText value="#{msg.noSeqPhysique}" id="noSeqPhysiqueLabel" />
</rich:column>
<rich:column rowspan="2">
<h:outputText value="#{msg.dateExecution}" id="dateExecutionLabel" />
</rich:column>
<rich:column colspan="3">
<h:outputText value="#{msg.compteDuBeneficiaire}" id="compteDuBeneficiaireLabel" />
</rich:column>
<rich:column rowspan="2">
<h:outputText value="#{msg.Registration_number}" id="Registration_numberLabel" />
</rich:column>
<rich:column rowspan="2">
<h:outputText value="#{msg.Name}" id="NameLabel" />
</rich:column>
<rich:column rowspan="2">
<h:outputText value="#{msg.Bank}" id="BankLabel" />
</rich:column>
<rich:column rowspan="2">
<h:outputText value="#{msg.operationReason}" id="operationReasonLabel" />
</rich:column>
<rich:column rowspan="2">
<h:outputText value="#{msg.Amount}" id="AmountLabel" />
</rich:column>
<rich:column breakBefore="true">
<h:outputText value="#{msg.codeBanque}" id="codeBanqueLabel" />
</rich:column>
<rich:column>
<h:outputText value="#{msg.codeGuichet}" id="codeGuichetLabel" />
</rich:column>
<rich:column>
<h:outputText value="#{msg.cpte}" id="cpteLabel" />
</rich:column>
</rich:columnGroup>
</f:facet>
<rich:column >
<h:outputText value="#{versement.opCode}" />
</rich:column>
<rich:column >
<h:outputText value="#{versement.typeEnreg}" />
</rich:column>
<rich:column>
<h:outputText value="#{versement.noSeqPhysique}" />
</rich:column>
<rich:column>
<h:outputText value="#{versement.dateExecution}" />
</rich:column>
<rich:column>
<h:outputText value="#{versement.codeBanque}" />
</rich:column>
<rich:column>
<h:outputText value="#{versement.codeGuichet}" />
</rich:column>
<rich:column>
<h:outputText value="#{versement.cpte}" />
</rich:column>
<rich:column>
<h:outputText value="#{versement.registratioNumber}" />
</rich:column>
<rich:column>
<h:outputText value="#{versement.name}" />
</rich:column>
<rich:column>
<h:outputText value="#{versement.bank}" />
</rich:column>
<rich:column>
<h:outputText value="#{versement.operationReason}" />
</rich:column>
<rich:column>
<h:outputText value="#{versement.amount}" />
</rich:column>
</rich:scrollableDataTable >
the problem is that it is not rendered properly...
using the dataTable instead of scrollableDataTable renders the page just fine, but we loose the request on scroll function. (and we love the request on scroll function:) ) so using the dataTable + dataScroller is not an option for us. Please tell me if the scrollableDataTable supports this type of layout... I tryied installing richfaces 3.2.2 for extendedDataTable but it crashes all our pages that have scrollableDataTable in it...so that isn't an option either.
Sory about my huge post, thank you reading it and replying to it :) -i hope