Skip to content

Commit

Permalink
if/then
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelsycamore committed Jan 9, 2025
1 parent 83d4798 commit f292563
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/data/data-grid/cell-selection/cell-selection.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ Hold <kbd class="key">Cmd</kbd> (or <kbd class="key">Ctrl</kbd> on Windows) and
To select a range of cells, users can:

- Click on a cell, drag the mouse over nearby cells, and then release.
- Click on a cell, then hold <kbd class="key">Shift</kbd> and click on another cell; if a third cell is clicked the selection will restart from the last clicked cell.
- Use the arrow keys to focus on a cell, then hold <kbd class="key">Shift</kbd> and navigate to another cell—if <kbd class="key">Shift</kbd> is released and pressed again, the selection will restart from the last focused cell.
- Click on a cell, then hold <kbd class="key">Shift</kbd> and click on another cell; if a third cell is clicked then the selection will restart from the last clicked cell.

Check warning on line 27 in docs/data/data-grid/cell-selection/cell-selection.md

View workflow job for this annotation

GitHub Actions / runner / vale

[vale] reported by reviewdog 🐶 [Google.Will] Avoid using 'will'. Raw Output: {"message": "[Google.Will] Avoid using 'will'.", "location": {"path": "docs/data/data-grid/cell-selection/cell-selection.md", "range": {"start": {"line": 27, "column": 132}}}, "severity": "WARNING"}
- Use the arrow keys to focus on a cell, then hold <kbd class="key">Shift</kbd> and navigate to another cell—if <kbd class="key">Shift</kbd> is released and pressed again then the selection will restart from the last focused cell.

Check warning on line 28 in docs/data/data-grid/cell-selection/cell-selection.md

View workflow job for this annotation

GitHub Actions / runner / vale

[vale] reported by reviewdog 🐶 [Google.Will] Avoid using 'will'. Raw Output: {"message": "[Google.Will] Avoid using 'will'.", "location": {"path": "docs/data/data-grid/cell-selection/cell-selection.md", "range": {"start": {"line": 28, "column": 191}}}, "severity": "WARNING"}

Try out the various actions to select cells in the demo below—you can toggle [row selection](/x/react-data-grid/row-selection/) on and off to see how these two selection features can work in parallel.

Expand Down

0 comments on commit f292563

Please sign in to comment.