On Sábado, 20 de Marzo de 2010 18:30:50 Jeff Surrett escribió:
> I have several virtual columns that I use for totals. Is there a way
> of setting AS to right-align them on the list view? I know that AS
> aligns real columns if they are numeric but how do I do this for
> virtual columns?

Columns will have a CSS like column-column_name (column-total for example). 
You can set that in CSS.

Also you can add numeric class in controller:
config.columns[:virtual_column].css_class = 'numeric'


-- 
Sergio Cambra .:: entreCables S.L. ::.
Mariana Pineda 23, 50.018 Zaragoza
T) 902 021 404 F) 976 52 98 07 E) [email protected]

-- 
You received this message because you are subscribed to the Google Groups 
"ActiveScaffold : Ruby on Rails plugin" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/activescaffold?hl=en.

Reply via email to