Removing row from a table using link_to_remote


#1

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!


#2

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


#3

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


#4

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!