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

doesn't seem to work with Opal #333

Closed epipheus closed 5 years ago

epipheus commented 5 years ago

I have a stackoverflow question that encapsulates this issue. See here . It was how I discovered that this gem doesn't seem to work with Opal, one of the answerers got datatables working with Opal without this gem and made a repo showing it. I added one dependency at a time to figure out what was breaking it and this gem somehow hates Opal. I could be mistaken since I can't tell you why but I can say I've tried many many permutations and have issued like 400pts or so on SO to solicit help. So far no one has been able to get this gem working with Opal, even though we have various examples of datatables with JS with and without the gem and with Opal without the gem, all working. I have just staked another 200pts for anyone that can get this gem working with Opal -- any insight you can lend would be helpful.

epipheus commented 5 years ago

closing, someone managed to make it work from stackoverflow. I don't understand the differences, but will study.