DataTables / SearchPanes

SearchPanes extension for DataTables
https://datatables.net
Other
19 stars 11 forks source link

SearchPanes with button initialization and server-side processing do not automatically update when open #32

Open band79 opened 1 year ago

band79 commented 1 year ago

If I use SearchPanes with button initialization and server-side processing and click the open button, datatables sends the ajax request, gets the SearchPanes data back from server, but does not update the (empty) SearchPanes in the opened overlay. I have to close and reopen to view the previous results, but then the next ajax request is send. (btw: it would reduce server load, if you could return SearchPane data only and not the table data) If I use SearchPanes without button initialization the SearchPanes are automatically updated after receiving the server response.

I tried to use "searchPanes.rebuildPane()" to update the SearchPanes after data is received. This works, but it will send another ajax request to the server and causes an endless loop.