addressalign-toparrow-leftarrow-rightbackbellblockcalendarcameraccwchatcheckchevron-downchevron-leftchevron-rightchevron-small-downchevron-small-leftchevron-small-rightchevron-small-upchevron-upcircle-with-crosscrosseditemptyheartfacebookfolderfullheartglobegmailgoogleimagesinstagramlinklocation-pinmagnifying-glassmailminusmoremuplabelShape 3 + Rectangle 1outlookpersonplusprice-ribbonImported LayersImported LayersImported Layersshieldstartrashtriangle-downtriangle-uptwitteruseryahoo

Re: [ruby-99] sorting html table by column header

From: user 7.
Sent on: Friday, March 20, 2009 5:43 PM
? You might try YUI DataTable.? This library accepts a variety of datatypes, and would offer you the ability to sort by column.? Additionally, this AutoComplete Example looks like the filtering functionality you are looking for.


On Fri, Mar 20, 2009 at 5:10 PM, Todd <[address removed]> wrote:
I have a table of data that I'd like to sort by column and filter by value. I've seen some examples on the web, but the most interesting ones are several years old. What have you done in this situation? I like the functionality found in?, except he uses classic pagination instead of will_paginate.?

- First Name?
- Last Name?
- Country?
- Last Login

I'd like to sort the table, ascending/descending by first name, or just show me the users in the USA who have logged in recently.

Rails Cookbook and Advanced Rails Recipes books and Ryan's railscasts are silent on this topic.

Please Note: If you hit "REPLY", your message will be sent to everyone on this mailing list ([address removed])
This message was sent by Todd ([address removed]) from Silicon Valley Ruby Meetup.
To learn more about Todd, visit his/her member profile
To unsubscribe or to update your mailing list settings, click here

Meetup Support: [address removed]
632 Broadway, New York, NY 10012 USA

Our Sponsors

People in this
Meetup are also in:

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy