DataTables / DataTables/SearchPanes

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

Open
#32 0 comments 0 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.