Displaying 1 result from an estimated 1 matches for "item_display".
Did you mean:
intel_display
2006 Aug 08
3
Updating a tr with RJS
I''m having a strange display issue when trying to update a tablerow
using RJS.
This is the code in the RJS template:
page.replace_html "item_#{@item.id}", :partial => ''item_display''
So the existing <tr> has an id like item_1. When the update actions
completes, it renders this template and effectively replaces the tr with
item_display which as a tr of its own. The issue is, the new row doesn''t
span the width of the table.
Has anyone encountered thi...