[richfaces-issues] [JBoss JIRA] Created: (RF-1766) Columns in dataTable defaulting to 100px width
Matthew Lieder (JIRA)
jira-events at lists.jboss.org
Fri Dec 21 11:02:46 EST 2007
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
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