# Removing row from a table using link\_to\_remote

**URL:** <https://www.ruby-forum.com/t/removing-row-from-a-table-using-link-to-remote/152639>\
**Category:** Rails\
**Created:** [November 5, 2008, 10:28pm UTC](https://www.ruby-forum.com/t/removing-row-from-a-table-using-link-to-remote/152639 "2008-11-05T22:28:32Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![spacechurro](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/d2c977/32.png) [@spacechurro](https://www.ruby-forum.com/u/spacechurro)\
**Post date:** [November 5, 2008, 10:28pm UTC](https://www.ruby-forum.com/t/removing-row-from-a-table-using-link-to-remote/152639/1 "2008-11-05T22:28:32Z")

</div>

i have a table of values that are presented in a regular html table.

what i would like to do is:

when DELETE is selected in a row, use link\_to\_remote to do some  
processing on the selected record…

once this data is is processed, and the controller is done, i would like  
to delete that entry using a visual\_effect…

is this possible?

obviously, putting each row in a DIV will not work…

has anyone else been able to do this?

thanks!

---

<div class="post-metadata">

**Author:** ![spacechurro](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/d2c977/32.png) [@spacechurro](https://www.ruby-forum.com/u/spacechurro)\
**Post date:** [November 5, 2008, 10:40pm UTC](https://www.ruby-forum.com/t/removing-row-from-a-table-using-link-to-remote/152639/2 "2008-11-05T22:40:16Z")

</div>

On 5 Nov 2008, at 21:28, Sergio R. wrote:

> to delete that entry using a visual\_effect…
> 
> is this possible?

just removing the tr element should be ok (not sure about all the  
visual effects).

Fred

---

<div class="post-metadata">

**Author:** ![spacechurro](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/d2c977/32.png) [@spacechurro](https://www.ruby-forum.com/u/spacechurro)\
**Post date:** [November 5, 2008, 11:11pm UTC](https://www.ruby-forum.com/t/removing-row-from-a-table-using-link-to-remote/152639/3 "2008-11-05T23:11:56Z")

</div>

> > is this possible?
> 
> just removing the tr element should be ok (not sure about all the  
> visual effects).

Some of the blind/scroll/fade affects can act a little weird. It will  
do the effect, then it will reappear then it will be removed.

If you go this route just remove the element and not worry about it 🙂

---

<div class="post-metadata">

**Author:** ![spacechurro](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/d2c977/32.png) [@spacechurro](https://www.ruby-forum.com/u/spacechurro)\
**Post date:** [November 6, 2008, 3:22pm UTC](https://www.ruby-forum.com/t/removing-row-from-a-table-using-link-to-remote/152639/4 "2008-11-06T15:22:34Z")

</div>

thanks everyone…

not sure what the problem was…

but i erased and retyped …

and it worked.

i musta had a typo hidden away in there.

thanks!
