Page 1 of 1
text-align to specific p:column
Posted: 04 Jan 2010, 13:17
by andy123
Hi,
I have a p:column within a p:dataTable and I want to apply text-align:center to one of the columns.
Can somebody explan how to do that?
Thanks
Re: text-align to specific p:column
Posted: 04 Jan 2010, 17:04
by cagatay.civici
Hi Andy, I'll add a styleClass attribute today to p:column for this, you can get it tomorrow via a nightly build.
Re: text-align to specific p:column
Posted: 05 Jan 2010, 00:23
by cagatay.civici
Hi again Andy, I've added styleClass attribute to p:column to make it easier to style a particular column.
Related ticket:
http://code.google.com/p/primefaces/iss ... ail?id=423
You can grab this with a nightly build.
Re: text-align to specific p:column
Posted: 05 Jan 2010, 11:01
by andy123
Yes, that helps!
Thanks a lot!
Re: text-align to specific p:column
Posted: 05 Jan 2010, 14:04
by cagatay.civici
You are welcome.
Re: text-align to specific p:column
Posted: 14 Sep 2010, 17:28
by paco_online
is it possible that styleClass is only applied to the table header rows?
i'm using 2.2 M1
thx