RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: rodrigokiller
I must say thanks, 2 years later.
Wow. There is a lot of JS code in there.
Easily you can use just it:
Where #example is the ID of the table.
Remember to use dataTable as a class, and to read the documentantion: