Comcast / Comcast/react-data-grid

Deselect cell

Open
#2,120 5 comments 6 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
7.7k
Forks
2.2k
Avg merge
1d 2h
Merged PRs (30d)
33

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.