Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Deselect cell

Open
#2,120 5 comments 6 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
react, typescript
Domain
frontend

Research direction

Start by tracing the cell selection and focus handling, then inspect how clicking a column header for sorting affects the active cell. Done means a selected cell can be deselected and the next Tab action focuses cell (0,0), without applying out-of-bounds row or column indexes.

Written by the indexing model from the issue text.

Description

Is there a way to deselect a cell?
I'd like to be able to lose focus on a cell.

For example if I have a selected cell and then I click on a column's header for sorting then I want to deselect the previous cell and the next time a user will use Tab then cell (0,0) will be focused.

I tried to reset cell values (rowIdx: -1, idx: -1) but since it's out of boundaries my selection is not applied.

Dominant language
TypeScript
Stars
7.7k
Forks
2.2k
Avg merge
11h 29m
Merged PRs (30d)
23

Getting set up

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.

More from Comcast/react-data-grid

All issues in Comcast/react-data-grid

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.