DataTables / DataTables/SearchPanes
SearchPanes with button initialization and server-side processing do not automatically update when open
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 23
- Forks
- 14
- PR merge metrics
- No merged PRs in 30d
Description
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.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the SearchPanes button initialization path and the server-side response handling for the opened overlay, then reproduce the issue with server-side processing enabled. Done means the returned SearchPanes data populates the already-open overlay without requiring a close and reopen or triggering a second request or rebuild loop.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- api, frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100