> How is you override? How do you apply the background color? You could set
> background color with css, using a class applied to td, and you can override
> column_class helper method to set another class if you need it, probably it's
> easier.

Hi,
thanks again for this quick answer. I use a colorpicker to select the
color from the string in that particular cell.
Looks like this:

def color_column(record)
  color_string = record.color || '-'

raw <<-EOT
<div style="background-color:#{record.color}; text-align:center;"
id="disabled_colorpickerHolder">#{color_string}</div>
    EOT
end



-- 
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