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
585 stars 228 forks source link

Alternate API #335

Closed mrinterweb closed 3 years ago

mrinterweb commented 5 years ago

I was migrating about 20 datatables to the latest API, and the new API required significant refactoring of the existing datatables. I had a little extra time so I wanted to see how it would be to write an alternate API that was had less duplication. I consider this to be shorthand for ajax-datatables-rails. I extracted the API into a gem https://github.com/Shipstr/ajax-datatables-rails-alt-api.

If there are ideas in my alternate API gem that you'd like to bring over to ajax-datatables-rails, I'd be into helping with that and I'll create some PRs.

reginato commented 4 years ago

hi @mrinterweb im looking for the same feature, did it work for you, i need some help?

mrinterweb commented 4 years ago

@reginato the gem I wrote that extends ajax-datatables-rails worked for me, but it is something I no longer maintain.