Header select checkbox does not fire user-select event
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 45/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- javascript
- Domain
- frontend
Research direction
Start from the dTable.on('user-select', ...) entry point and trace how row selection differs from the header checkbox click, including the event.stopPropagation behavior. Done means a user-triggered header selection can be detected without confusing it with API-driven selection, with the existing row-selection behavior preserved.
Written by the indexing model from the issue text.
Description
Have some code that I need to know if the user checked or the API changed the selection
This event all works on the row selection, but does not fire when clicking the header checkbox
Due to the event.stopPropagation on the click event, I have no way to detect when this header checkbox is clicked
dTable.on('user-select', function (e, dt, type, cell, originalEvent) {
// fires on user rows but not on header
});
- Dominant language
- JavaScript
- Stars
- 44
- Forks
- 40
- PR merge metrics
- No merged PRs in 30d
Contributor 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 4/5 3-5 days Newbie friendliness 35/100
DataTables/Select#47 · 3 comments ·
-
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
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
HarperFast/skills#96 ·
-
[Block] Latest Posts [Type] Bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Automattic/studio#4908 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
sugarlabs/musicblocks#8847 ·