[richfaces-issues] [JBoss JIRA] Resolved: (RF-1766) Columns in dataTable defaulting to 100px width

Maksim Kaszynski (JIRA) jira-events at lists.jboss.org
Fri Jan 4 14:48:43 EST 2008


     [ http://jira.jboss.com/jira/browse/RF-1766?page=all ]

Maksim Kaszynski resolved RF-1766.
----------------------------------

    Resolution: Duplicate Issue

> Columns in dataTable defaulting to 100px width
> ----------------------------------------------
>
>                 Key: RF-1766
>                 URL: http://jira.jboss.com/jira/browse/RF-1766
>             Project: RichFaces
>          Issue Type: Bug
>    Affects Versions: 3.1.3
>            Reporter: Matthew Lieder
>         Assigned To: Nick Belaevski
>             Fix For: 3.2.0
>
>
> 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>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the richfaces-issues mailing list