Skip to content

A wrapper around datatable's ajax methods that allow synchronization with server-side pagination in a rails app

License

Notifications You must be signed in to change notification settings

garrettlancaster/ajax-datatables-rails

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ajax-datatables-rails

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.

Installation

Add this line to your application's Gemfile:

gem 'ajax-datatables-rails'

And then execute:

$ bundle

Or install it yourself as:

$ gem install ajax-datatables-rails

Usage

TODO: Write usage instructions here

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Added some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

About

A wrapper around datatable's ajax methods that allow synchronization with server-side pagination in a rails app

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%