Skip to content

Drag Selection Rectangle (Rubber-Band Selection) #334

@hiteshkrmsft

Description

@hiteshkrmsft

Is your feature request related to a problem? Please describe.
Currently, multi-selection requires Shift+Click or Ctrl+Click. There’s no support for click-and-drag selection, which is a common interaction in spreadsheet-style controls.

Image

Describe the solution you'd like
Add support for a drag selection rectangle (rubber-band selection):

  • Click and drag to draw a semi-transparent selection rectangle
  • Select all intersecting cells/rows on mouse release
  • Works with both Cell and Row selection modes
  • Supports Shift (range extend) and Ctrl (toggle selection) modifiers
  • Uses system accent color for visual feedback

Improves usability for bulk operations like copy/paste, delete, and formatting.
Aligns with expected behavior from tools like Excel and modern data grids.

Describe alternatives you've considered

  • Shift+Click for range selection, requires more precise mouse movements.
  • Other similar UI platform grids already support this.

Additional context
I have POC for this and would like to contribute and open a PR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions