Browse files

Updated the README to include some clarification regarding TableTools…

…' CSS files
  • Loading branch information...
1 parent 2325765 commit b3479b2e86ee67673b3df0a852b979aae3b97c34 @wjgilmore wjgilmore committed Nov 7, 2012
Showing with 10 additions and 1 deletion.
  1. +10 −1
@@ -83,12 +83,21 @@ Only the official extras are available:
* Scroller
* TableTools
-To add an extra into your application, include it like follow:
+To add an extra into your application, add its JS file to `application.js` using the following pattern:
//= require dataTables/extras/[ExtraName]
+Additionally, you may need to add any associated CSS files. For instance the TableTools extra requires
+you to add the following two lines to your `application.css` file:
+ *= require dataTables/extras/TableTools
+ *= require dataTables/extras/TableTools_JUI
Make sure to also add it's initialization as described on [datatables extras' site][datatables_extras]

0 comments on commit b3479b2

Please sign in to comment.