[
http://jira.jboss.com/jira/browse/RF-1766?page=all ]
Tsikhon Kuprevich closed RF-1766.
---------------------------------
Assignee: Tsikhon Kuprevich (was: Nick Belaevski)
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: Tsikhon Kuprevich
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