Hi Andrea,

your issue is actually a little bit more complicated and not limited
to marked column.
If you want to hide a column in list view for specific users you may
see same issue.

I ve stumbled across same problems and its fixed in my rails 3 fork.

--
Volker

On 11 Dez., 11:53, andrea <[email protected]> wrote:
> Hi, i have enabled marked records in my controller and all works well,
> but i have soma css/html layout issues:
> 1) the main checkbox control (check all) is not aligned with records
> checkboxes (i think some incorrect padding in the .mark_record_column
> css class)
> 2) the tbody message container colspan is incorrect; the colspan value
> should be (active_scaffold_config.list.columns.length + 2) with maked
> records enabled and not (active_scaffold_config.list.columns.length
> +1)
>
> I override css with:
>
> .active-scaffold .mark_record_column {
>     width: 1px;
>     padding: 3px 0px 0px 5px;
>
> }
>
> and i override _list.html.erb template at row 9 with :
>
>      <td colspan="<%= active_scaffold_config.list.columns.length +
> (active_scaffold_config.list.mark_records ? 2 : 1) -%>"
> class="messages-container">
>
> 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