Skip to content

[data grid] Checkbox selection Shift + click behavior #16366

@west12-sk

Description

@west12-sk

Steps to reproduce

Steps:

  1. Open this link to live example: (required) https://codesandbox.io/s/09zo1k?file=/demo.tsx
  2. Select first 3 rows
  3. Deselect all checkboxes using checkbox in the table header (master checkbox)
  4. Shift + click row 6

Current behavior

Rows 3-6 get selected

Expected behavior

Only row 6 should be selected

Context

No response

Your environment

npx @mui/envinfo
  Don't forget to mention which browser you used.
  Output from `npx @mui/envinfo` goes here.

Search keywords: datagrid checkbox shift click

Order ID: 95972

Metadata

Metadata

Assignees

Labels

feature: SelectionRelated to the data grid Selection featurescope: data gridChanges related to the data grid.support: pro standardSupport request from a Pro standard plan user. https://mui.com/legal/technical-support-sla.type: bugIt doesn't behave as expected.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions