7 Replies Latest reply on Jul 4, 2011 8:38 AM by Heitor Rosa Faustino dos Santos

    rich:extendedDataTable column width not set, RF 4.0

    lukas.p Newbie

      Hi!

       

      I got an issue with rich:extendedDataTable. I only have one column and I would like to have it at the same width as my table. I tried "width" and "style" attributes but it does not change the width of the column. I use the following code:

       

      <rich:extendedDataTable value="#{reportBean.reports}" var="report"

           selectionMode="none" style="height:200px; width:330px;">

                <rich:column width="320">

                     <f:facet name="header">

                          <h:outputText value="Report" />

                     </f:facet>

                     <h:outputText value="#{report.name}" />

                </rich:column>

      </rich:extendedDataTable>

       

      What I would expect is a table with 330x200 pixels (this works) and a column with 320 pixels width, but it always stays the same size. Even the column header is smaller than the cells itself (please see screenshot).

       

      Any clues?

       

       

      extendeddatatable-width-issue.PNG