jbox-web / ajax-datatables-rails

A wrapper around DataTable's ajax methods that allow synchronization with server-side pagination in a Rails app
MIT License
590 stars 227 forks source link

Updating README to add examples for view helpers #262

Closed makotogitdev closed 7 years ago

makotogitdev commented 7 years ago

This PR adds a few more examples for view helpers in README. I wanted to add them since I spent quite a bit of time figuring out how I could use check_box_tag on a column. I am hoping that this change in README would help others save time. I've also added an example use of Draper to keep things tidy in the data mapping method if you wanted, which may be useful to others.

n-rodriguez commented 7 years ago

Thank you!