I'm trying to modify the position of the text of a column in a datatable but I can not find the attributes responsible for this such as: columnClasses, rowClasses, captionClass.
thanks
where did the attributes css dataTable component?
Danilo G. Magrini - Brazil
http://twitter.com/daniloMagrini
Mojarra 2.0.3 / Glassfish v3 / Primefaces 2.2RC1 / Netbeans 6.9
http://twitter.com/daniloMagrini
Mojarra 2.0.3 / Glassfish v3 / Primefaces 2.2RC1 / Netbeans 6.9
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
Hi,
In PrimeFaces we prefer using CSS selector mechanism instead of bloating components with *Style attributes. In datatable you can easily center the column texts with;
Skinning guide from YUI site;
http://developer.yahoo.com/yui/examples ... nning.html
Hope this helps,
In PrimeFaces we prefer using CSS selector mechanism instead of bloating components with *Style attributes. In datatable you can easily center the column texts with;
Code: Select all
.yui-skin-sam .yui-dt td {
text-align: center;
}
http://developer.yahoo.com/yui/examples ... nning.html
Hope this helps,
-
- Information
-
Who is online
Users browsing this forum: No registered users and 32 guests