0 Replies Latest reply on Dec 23, 2008 9:27 AM by Kevin Henderson

    ExtendedDataTable column widths

    Kevin Henderson Newbie

      Hello,

      I am currently having an issue with the column widths inside rich:extendedDataTable. Once the sum of the widths of the columns is greater than the browser width, the columns begin to shrink, rather than give a horizontal scroll bar.

      For instance, say I have the following table:

      <rich:extendedDataTable ...>
       <rich:column width="200px">
       ....
       </rich:column>
       <rich:column width="200px">
       ....
       </rich:column>
       <rich:column width="200px">
       ....
       </rich:column>
       <rich:column width="200px">
       ....
       </rich:column>
      </rich:extendedDataTable>
      


      So, if my browser width is 800px, everything works fine. But, if my browser width is 700px, instead of leaving my table alone and giving me a horizontal scrollbar, my first column is getting truncated to 100px, leaving the other columns alone. This truncating works for left to right, meaning that it takes each column down to a min width of about 16px, then truncates the next column to the left. So, a browser width of 400px would yield 4 columns of width 16px-16px-168px-200px.

      Is there a reason that the extendedDataTable renders the column widths this way? I know that this tag isn't completely finished, but is there a timeline on when this functionality will be changed/fixed?

      Thanks!