Comcast / Comcast/react-data-grid
Deselect cell
Open
- 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
Assessment
This issue has not been assessed yet.