react-data-grid icon indicating copy to clipboard operation
react-data-grid copied to clipboard

Choice between focus or only selected when someone calls gridRef.current.selectCell(position, false)

Open vivaslj1 opened this issue 4 years ago • 0 comments

Use case

When i render the grid the first time, i need to select a custom position as already selected. However when i call gridRef.current.selectCell, the cell get the focus, but i do not need that, the cell steal a previous focus

Proposed solution

The method gridRef.current.selectCell has another parameter, focused: true/false.

vivaslj1 avatar Nov 25 '21 09:11 vivaslj1