Uploaded image for project: 'RichFaces'
  1. RichFaces
  2. RF-1766

Columns in dataTable defaulting to 100px width

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 3.1.3
    • Fix Version/s: 3.2.0
    • Component/s: None
    • Labels:
      None

      Description

      For whatever reason, in 3.1.3 (but not 3.1.2.sp1) columns in dataTable's have their CSS width set to "100px" by default. That causes the contents of the columns to wrap at 100px even if the actual column shows as much wider. The workaround is to put the width="auto" attribute on every rich:column.

      To see the problem yourself:

      <rich:dataTable width="400px">
      <rich:column>
      This text will wrap. This text will wrap.
      </rich:column>
      <rich:column width="auto">
      This text won't wrap. This text won't wrap. This text won't wrap.
      </rich:column>
      </rich:dataTable>

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  nbelaevski Nick Belaevski
                  Reporter:
                  IGx89 Matthew Lieder (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: