rweng/jquery-datatables-rails — pull request #28 by superscott (2012-09-05 18:26:48+00:00)
Title: Update for including all TableTool assets 

Update for including the media folder for TableTool plugin and editing the paths for css, js and swf files to work within the Rails asset pipeline.

Also included the TableTools version 2.1.3 js file

Should only need to do the following to activate:

Application.css
*= require dataTables/src/demo_table_jui (only need to include if you're using that style with jQueryUI)
*= require dataTables/extras/TableTools

Application.js
//= require dataTables/jquery.dataTables
//= require dataTables/extras/TableTools
//= require dataTables/extras/ZeroClipboard

Then add the following sDom attribute to your dataTable:
sDom: 'T<"clear">lfrtip

If you're using the jQueryUI add the following to your dataTable:
bJQueryUI: true,
sDom: 'T<"clear"><"fg-toolbar ui-widget-header ui-corner-tl ui-corner-tr ui-helper-clearfix"lfr>t<"fg-toolbar ui-widget-header ui-corner-bl ui-corner-br ui-helper-clearfix"ip>'