Preethi, you can set the attribute name to the check boxes as ids of the
record, when you click on to the checkboxes and press delete, you can
collect the ids and delete them!
Regards
Shree

On Mon, Apr 6, 2009 at 3:02 PM, Preethi Sivakumar <
[email protected]> wrote:

>
> Hi,
>
> I'm having a page in which i'm listing a list of profiles with
> pagination(done in Jquery).(see the attachment)
>
> I'm having a delete option in my page which has to take all the checked
> rows i'm selecting(irrespective of in which page i'm submitting from)
>
> The issue is that, when i'm doing delete, only the current page's
> selected checkboxes are passed to the controller, whereas it has to pass
> the checked rows of all the pages.
>
> Am i missing something?
> What is the solution for this.
> Any help is greatly appreciated.Thanks
>
> Attachments:
> http://www.ruby-forum.com/attachment/3551/query.JPG
>
> --
> 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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to