NicolasCARPi / jquery_jeditable

jQuery edit in place plugin. Extendable via plugin architecture. Plugins for plugin. Really.
https://jeditable.elabftw.net
MIT License
1.74k stars 458 forks source link

Jeditable and Webgrid Sorting/Paging #219

Closed jhuynh613 closed 4 years ago

jhuynh613 commented 4 years ago

Has anyone tried using this with webgrid? If you do not use the paging or sorting function in webgrid everything works fine but if you click to sort or page all the in place edit do not work/disappear. There is no errors, nothing happens after a click. How does someone get around this or is this a bug? Thanks!

NicolasCARPi commented 4 years ago

You'll want to attach the listener to an element that doesn't get reloaded, or reattach the listener after that action.

jhuynh613 commented 4 years ago

Thanks Nicolas, that did the trick.