@@ -15,12 +15,12 @@ If you encounter any errors, please fork the repository, update the plugin files
1515
1616## General Installation
1717
18- ** This is README is valid only for 2.1.10.0.1 version**
18+ ** This is README is valid only for 2.1.10.0.2 version**
1919
20201 - Add to your Gemfile:
2121
2222``` ruby
23- gem ' jquery-datatables-rails' , ' ~> 2.1.10.0.1 '
23+ gem ' jquery-datatables-rails' , ' ~> 2.1.10.0.2 '
2424```
2525
26262 - Install the gem:
@@ -43,7 +43,8 @@ bundle install
4343
4444## Twitter Bootstrap 2 Installation
4545
46- 1 - Complete steps 1-3 of the General Installation
46+ 1 - Complete steps 1-3 of the General Installation.
47+
47482 - Add some more JavaScript to `application.js`:
4849
4950```javascript
@@ -74,7 +75,8 @@ $('.datatable').dataTable({
7475
7576## Twitter Bootstrap 3 Installation
7677
77- 1 - Complete steps 1-3 of the General Installation
78+ 1 - Complete steps 1-3 of the General Installation.
79+
78802 - Add some more JavaScript to ` application.js ` :
7981
8082``` javascript
@@ -84,7 +86,7 @@ $('.datatable').dataTable({
84863 - Add this (and only this) stylesheet to ` application.css ` :
8587
8688``` css
87- * = require dataTables/bootstrap/3jquery .dataTables.bootstrap3
89+ * = require dataTables/bootstrap/3/jquery .dataTables.bootstrap
8890```
8991
90924 - Initialize your datatables using these option :
@@ -122,7 +124,8 @@ $('.datatable').dataTable({
122124
123125## Responsive Installation
124126
125- 1 - Complete steps 1-3 of the General Installation
127+ 1 - Complete steps 1-3 of the General Installation.
128+
1261292 - Add the lodash gem to your application:
127130
128131``` ruby
@@ -189,19 +192,21 @@ These files can be found in the [assets directory][assets].
189192
190193## Extras
191194
192- Official extras are available:
193-
194- * AutoFill
195- * ColReorder
196- * ColVis
197- * FixedColumns
198- * FixedHeader
199- * KeyTable
200- * Scroller
201- * TableTools
202-
203- Unofficial extra is available:
204- * Responsive
195+ ````ruby
196+ # Official extras are available:
197+ [Plugin ] : [ExtraName ]
198+ AutoFill : dataTables.autoFill
199+ ColReorder : dataTables.colReorder
200+ ColVis : dataTables.colVis
201+ FixedColumns : dataTables.fixedColumn
202+ FixedHeader : dataTables.fixedHeader
203+ KeyTable : dataTables.keyTable
204+ Scroller : dataTables.scroller
205+ TableTools : dataTables.tableTools
206+
207+ # Unofficial extra is available:
208+ Responsive : dataTables.responsive
209+ ````
205210
206211### How to use Extras
2072121 - To add an extra into your application, add its JS file to `application.js` using the following pattern :
@@ -236,7 +241,7 @@ Make sure to also add it's initialization as described on [datatables extras' si
236241
237242Thanks to Comanche for responsive support files [datatables-responsive ]
238243
239- [assets ]: https://github.com/rweng/ jquery-datatables-rails /tree/master/vendor /assets/javascripts/dataTables
244+ [assets ]: app /assets/javascripts/dataTables
240245[datatables_extras ]: http://datatables.net/extras/
241246[datatables-responsive ]: https://github.com/Comanche/datatables-responsive
242247[RailsCast #340 DataTables ]: http://railscasts.com/episodes/340-datatables
0 commit comments