Skip to content

Commit 12b1f40

Browse files
committed
update readme
1 parent 084e7f3 commit 12b1f40

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

README.md

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,9 @@ rails g jquery:datatables:install bootstrap
4141
this generator will:
4242
- 1. append ```//= require datatables ``` add `app/assets/javascripts/application.js`
4343
- 2. append ```*= require datatables ``` add `app/assets/stylesheets/application.css`
44-
- 3. create datatable.js in ```app/assets/javascripts/```
44+
- 3. create datatable.js in ```app/assets/javascripts/``` with default init script.
4545
- 4. create datatable.scss in ```app/assets/stylesheets/```
46+
- 5. create scaffold index template in ```lib/template```
4647

4748
## Manual install
4849

@@ -103,7 +104,7 @@ Create new file `app/assets/stylesheets/datatables.scss`
103104
*** you may refer other extensions in this directory: [click me](https://github.com/mkhairi/jquery-datatables/tree/master/app/assets/stylesheets/datatables/extensions)
104105

105106

106-
### Initialization
107+
### Basic Initialization
107108

108109
Where needed in your JavaScripts, initialize your DataTables:
109110

@@ -113,10 +114,15 @@ $(document).ready(function() {
113114
});
114115
```
115116

116-
## Todo
117-
- update instructions
118-
- add scaffolds generators
119-
- add ajax helpers
117+
### Server Side processing
118+
119+
Recommended use this gem
120+
121+
```ruby
122+
gem 'ajax-datatables-rails'
123+
```
124+
see [docs](https://github.com/jbox-web/ajax-datatables-rails) for details instruction
125+
120126

121127
## Contributing
122128

0 commit comments

Comments
 (0)