On Lunes, 2 de abril de 2012 07:23:50 Richard Zheng escribió:
> Hi,
>
> What's best way to update the whole row after a column was inplace_edited?
> Sometimes, other column display might be affected.
>
> Thanks,
You must override update_column.js.erb and use
ActiveScaffold.update_row('<%= element_row_id(:action => :list, :id =>
@record.id) %>', '<%= escape_javascript(render(:partial => 'list_record',
:locals => {:record => @record})) %>');
--
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.