DataTables / DataTables/SearchPanes

preSelect does not affect ajax data

Open
#37 2 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

It looks like preSelect and server side are incompatible.

When server side is on, pre select neatly selects the right fields in the sub-tables, but it does not result in a (re)load of the data. The first ajax call does not include the searchPanes[colname][0] = value type parameters representing searchPanes = { colname: [value1, value2] } and no second call to server is made.

That should at least be documented.

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

No file or test is named in the issue. Start by locating the SearchPanes documentation and the preSelect/server-side integration entry points, then verify the initial and subsequent Ajax requests described here. Done means documenting the limitation and the expected request behavior, or clarifying the supported behavior if the project chooses a code fix.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
documentation, frontend
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.