[BUG]: Unable to Select Cell in Report when clicking on the Cell
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 38/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- javascript
- Domain
- frontend
Research direction
Reproduce the problem by clicking a cell in a report and inspect the console error. Start with clearSelection, focusCell, and bindMouseEvents in frappe-datatable.cjs.js, then follow the render_datatable entry point in query_report.js. Done means report cells can be selected without the $cell is null error.
Written by the indexing model from the issue text.
Description
Unable to click on the cell of a report its not getting selected. The issue is coming on the js console as well and the console error is below:
Uncaught TypeError: $cell is null
clearSelection frappe-datatable.cjs.js:2910
clearSelection frappe-datatable.cjs.js:2910
focusCell frappe-datatable.cjs.js:2741
bindMouseEvents frappe-datatable.cjs.js:2684
delegate frappe-datatable.cjs.js:74
delegate frappe-datatable.cjs.js:70
on frappe-datatable.cjs.js:55
bindMouseEvents frappe-datatable.cjs.js:2682
bindEvents frappe-datatable.cjs.js:2553
CellManager frappe-datatable.cjs.js:2545
initializeComponents frappe-datatable.cjs.js:5609
DataTable frappe-datatable.cjs.js:5556
render_datatable query_report.js:750
refresh query_report.js:609
promise callback*refresh query_report.js:557
throttle desk.min.js:5070
onchange query_report.js:480
set base_control.js:158
promise callback*frappe.run_serially/< desk.min.js:1004
run_serially desk.min.js:1002
set base_control.js:151
validate_and_set_in_model base_control.js:173
parse_validate_and_set_in_model base_control.js:141
setup_awesomeplete link.js:229
jQuery 8
make_input link.js:39
Class.extend/proto[name]</< desk.min.js:65
make_input base_input.js:60
refresh_input base_input.js:87
refresh base_control.js:85
add_field desk.min.js:6850
filters query_report.js:450
setup_filters query_report.js:447
refresh_report query_report.js:338
promise callback*frappe.run_serially/< desk.min.js:1004
run_serially desk.min.js:1002
refresh_report query_report.js:337
load_report query_report.js:130
frappe-datatable.cjs.js:2910:27
Let me know if more details for the error are needed.
- Dominant language
- JavaScript
- Stars
- 1.3k
- Forks
- 223
- Avg merge
- 23h 14m
- Merged PRs (30d)
- 1
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
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 frappe/datatable
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Datatable stops responding to clicks after selecting across collapsed or scrolled-out rowsPossibly taken @RaphaelFakhri claimed this 24 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 80/100
-
Bug with serialNoColumn= falsePossibly taken @Valley-15 claimed this 295 days ago. Open
Difficulty 1/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
All issues in frappe/datatable
Similar issues
-
db-d1-sqlite: upsert is aliased to updateOne, so payload.kv.set never inserts new keysPossibly taken @pcbeingused333 claimed this today. OpenBug db: d1-sqlite Payload OSS
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
payloadcms/payload#19766 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
HarperFast/rocksdb-js#1131 ·
Maintainers usually reply within 1 day
-
Reveal: resolved but blocked Pending boundary hides its fallbackPossibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
anothaDev/luci-theme-vantage#137 ·
Maintainers usually reply within 1 day
-
Area/DeveloperPortal Aspect/UI Severity/Minor Type/Bug
Difficulty 1/5 Under an hour Newbie friendliness 88/100
wso2/api-platform#4369 ·
Maintainers usually reply within 1 day