I have this issue when trying to override default table row css style
using documented method in API::List list_row_class helper method; i
have :

module AlbumsHelper
  def list_row_class(record)
    record.locked? ? 'locked' : 'record'
  end
end

.active-scaffold tr.locked {
  background-color: red;
}

All works fine, but if i order table on a specific column (inside
controller or via table header click) the "sorted" style for this
column override the "locked" style and i have thw whole row with red
background, except for the sorting column.

I do not have bigger  css experience but i think the documented
list_row_class helper method is not enough to have a complete css row
override.

Thanks for support.







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