2 Replies Latest reply on Oct 9, 2012 12:20 PM by user10047839

    Pivot Table, strange problems


      Jdev . I have a pivot table on a page (see below).
      As you can see, the pivot table has a column with an image inside.
      Now it happens that the first time the pivot table is populated with the (big) image on the datacells, those cells are not aligned with the rest of header cells.
      But when the table is refreshed in some way (for example by switching the tab, and then back again to the tab containing the pivot table), then the table shows the content correctly.
      I have tried to progammatically AddPartialTarget the table, but nothing changes.

      I hope the problem is clear. It would be easier to understand if I could attach an image.

      Do you have any idea about this issue?

                                  <dvt:pivotTable id="pt3" value="#{bindings.PIVOT.pivotTableModel}"
                                                  modelName="pt3Model" var="cellData" varStatus="cellStatus"
                                                  partialTriggers="::cb2 ::pc1:ctb1" sizing="auto" contentDelivery="lazy">
                                          <af:switcher facetName="#{cellData.layerName}" defaultFacet="Default" id="s1">
                                              <f:facet name="DataLayer">
                                                  <af:outputText value="#{cellData.label}" id="ot1"/>
                                              <f:facet name="RCod">
                                                  <af:outputText value="#{cellData.dataValue}" id="ot2"/>
                                              <f:facet name="PCod">
                                                  <af:outputText value="#{cellData.dataValue}" id="ot4"/>
                                          <af:switcher facetName="#{cellStatus.members.DataLayer.value}"
                                                       defaultFacet="Default" id="s2">
                                              <f:facet name="DATAVALUE">
                                                  <af:image source="icon/IMAGE.png" id="i1"
                                                            rendered="#{cellData.dataValue != null}"
                                                  <!--af:outputText value="#{cellData.dataValue}" id="ot24"/-->
                                              <f:facet name="Default">
                                                  <af:outputText value="#{cellData.dataValue}" id="ot25"/>