I am trying to: Enable AJAX sorting of table columns in a view.
I have several views loading in modals- so obviously a full refresh on a column sort is going to close the modal. I've enabled " AJAX results update when visitors change any filter values" but this doesn't appear to make a difference?
Sortable tables update via page refresh, there is no option to update them with ajax.
Which, yes, means that you cannot use them inside a modal, the modal will be lost when you update the page.
I don't see any workaround in this case, you would need to re-think how you present such a View.
As an aside I did note that sortable tables made with the current stable plugin versions don't appear to be working correctly, the column headers are missing, and I am reporting that.
Are there any plans to get this working? I saw a couple of threads from 12+ months ago saying it was being worked on? Seems like an oversight that the AJAX stuff works for all the filtering but not searching...
I spoke with the developers about this who said there are a number of gotchas that make ajax updates for sortable tables more complex than other front-end pagination and search controls, which is why it wasn't initially implemented that way.
They are open to working on it, but it will be handled as per other requests, which means evaluating how popular the request is in the context of the work required. We don't currently have many people asking for this, but we will be implementing a public feature request system where users can vote which will give us a better idea of the demand for individual features.
Anyway, I've made sure to log the request, which is all I can do for now.