2 Replies Latest reply on Mar 14, 2011 5:30 AM by Ilya Shaikovsky

    Issue with resizing ExtendedDatatable RF4 CR1

    rlcaswell Newbie

      I'm using Richfaces 4.0.0.20110227-CR1 on Glassfish with jsf-api and jsf-impl 2.0.3-b03. running on windows XP.

      I  have an extendedDatatable in a resizeable div element.  When I shrink the div vertically, the extendedDatatable shrinks appropriately and the scrollbar works as expected.  However, when I expand the div vertically, the extendedDatatable does not expand and leaves a large empty space below.  I've created an example of this at the top level of the page to show the same behavior when resizing the browser window.  Here is the xhtml snippet:

       

                  <rich:extendedDataTable  value="#{dataTableController.data}" var="datum" style="position:absolute; top:0px; left:0px;height:99.8%;width:99.8%;">

                    <rich:column  >

                        <f:facet name="header"><h:outputText value="Group" id="groupHeader"/></f:facet>

                        <h:outputText value="#{datum.group}" />

                    </rich:column>

                    <rich:column  >

                          <f:facet name="header"><h:outputText value="Item" id="itemHeader"/></f:facet>

                        <h:outputText value="#{datum.item}" />

                    </rich:column>

                  </rich:extendedDataTable>