When deselecting multiple rows the last one is not getting unselected
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- javascript
- Domain
- frontend
Research direction
Start in js/dataTables.select.js around lines 695-697 and reproduce deselecting multiple rows to confirm the final row remains selected. Clarify whether the default behavior should change or be configurable, then verify that the chosen behavior consistently deselects the intended rows.
Written by the indexing model from the issue text.
Description
Hi.
Playing around with the plugin I noticed that when deselecting multiple items the last one remains selected.
I dug a bit into the code and noticed the following code that intentionally prevents the last row from being deselected.
https://github.com/DataTables/Select/blob/36e53e42f5220e98879d2554551aabbfaba7d0ff/js/dataTables.select.js#L695-L697
I checked the behavior of many programs and none acts like that.
Can you please explain the reasoning behind it?
Anyway I believe that this behavior should be configurable what is yours?
Thanks.
- Dominant language
- JavaScript
- Stars
- 44
- Forks
- 40
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
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.
More from DataTables/Select
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
DataTables/Select#59 · 1 comment ·
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
DataTables/Select#46 · 6 comments ·
-
enhancement
Difficulty 5/5 Over a week Newbie friendliness 35/100
DataTables/Select#11 · 5 comments ·
All issues in DataTables/Select
Similar issues
-
curriculum documentation quality
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
githubnext/gh-aw-workshop#3897 ·
Maintainers usually reply within 2 days
-
agent/quality hive/hosted-available-lke648397-260827-5n31 quality testing
Difficulty 2/5 1-3 hours Newbie friendliness 91/100
Maintainers usually reply within 1 day
-
check:failed feeds:add
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
iptv-org/database#36179 · 1 comment ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Maintainers usually reply within 1 day