Shawn,

I don't think max-width works in HTML tables quite how you expect.
You can just play with a standalone HTML test. Unless you restrict the overall width of the table,
the column will grow as much as it needs to to avoid clipping.

Max

Bertrand, Shawn R wrote:

Calling setWidth() on a CoreColumn does indeed do the right thing, but I was hoping to go the “max-width” route, where a column sizes to its content but max-es out to whatever the “max-width” is.  

 

Thanks for the suggestion, Max.  Happy holidays to you as well,

 

Shawn

 

 


From: Max Starets [mailto:max.star...@oracle.com]
Sent: Monday, December 22, 2008 11:09 AM
To: MyFaces Discussion
Subject: Re: [Trinidad] Fixed column widths in tr:table (or no wrapping)

 

Shawn,

Have you tried the "with" attribute on tr:column?

Happy Holidays,
Max

Bertrand, Shawn R wrote:

I’d like to control the width of a column in my table, but I’m not sure how to get there from here.  I’m sure I can use CSS, but it’s not clear to me where I’d specify it.

 

Any ideas?

 

Shawn

 

 


Reply via email to