Skip to content

Commit

Permalink
added some more documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Joel Quenneville committed Sep 10, 2012
1 parent c60fcbc commit d3ba20b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Datatables is a nifty jquery plugin that adds the ability to paginate, sort, and search your html tables. When dealing with large tables (more than a couple hundred rows) however, we run into performance issues. These can be fixed by using server-side pagination, but this breaks some datatables functionality.

`ajax-datatables-rails` is a wrapper around datatable's ajax methods that allow synchronization with server-side pagination in a rails app.
`ajax-datatables-rails` is a wrapper around datatable's ajax methods that allow synchronization with server-side pagination in a rails app. It was inspired by this (railscast)[http://railscasts.com/episodes/340-datatables]. I needed to implement a similar solution in a couple projects I was working on so I extracted it out into a gem.

## Installation

Expand Down Expand Up @@ -38,7 +38,7 @@ end

* For `@searchable_columns`, assign an array of the database columns that you want searchable by datatables. For example `[users.f_name, users.l_name]`

This gives us:
This gives us:
```ruby
def initialize(view)
@model_name = User
Expand Down

0 comments on commit d3ba20b

Please sign in to comment.