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! -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Frederick Cheung
2008-Nov-05 21:39 UTC
Re: removing row from a table using link_to_remote..
On 5 Nov 2008, at 21:28, Sergio Ruiz wrote:> > 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? >just removing the tr element should be ok (not sure about all the visual effects). Fred> obviously, putting each row in a DIV will not work.. > > has anyone else been able to do this? > > thanks! > -- > Posted via http://www.ruby-forum.com/. > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Philip Hallstrom
2008-Nov-05 22:11 UTC
Re: removing row from a table using link_to_remote..
>> 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? >> > 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 :) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
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! -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---