Hi
    I have a list page for users. I am using will_paginate for
pagination. So an example is

full_name(f_name+l_name)   email  unit(this an integer colum is
user.buildng.unit)

Clinton Trone               cl...@test.com       2
Evette Pace                 e...@test.com        2
Brett B                     br...@test.com       10
...............

         My requirement is to sort by any of the headings ie
first_name, email or unit on clicking them. Also I need Alphabetical
sorting .Like there will be
 All,A,B,C ...Z,Other
   in the list page. Then on clicking suppose D the paginated list has
to sorted by letter 'D' like that. I have no idea how to implement this.
Please help


Thanks in advance
Tom
-- 
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-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to