jspreadsheet / jspreadsheet/ce

v3 Feature Request: Provide Standard Select Functionality via Ctrl, Shift and Ctrl+Shift

Open
#554 2 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature request
Dominant language
JavaScript
Stars
7.2k
Forks
890
PR merge metrics
No merged PRs in 30d

Description

Reproduce:

  1. Go to https://bossanova.uk/jexcel/v3/examples/react for an available worksheet
  2. Select row 1, then select row 4 with Ctrl key down

Expected Result:
Rows 1 and 4 are selected.

Actual Results:
Rows 1 through 4 are all selected (Shift select behavior)

Reproduce:

  1. Go to https://bossanova.uk/jexcel/v3/examples/react for an available worksheet
  2. Select cell A1, then select D1 with Ctrl key down

Expected Result:
Cells A1 and D1 to be selected.

Actual Results:
Last cell clicked, D1, is the only one selected.

Additional Information:
If you have Excel, you can see how the combinations of selecting rows, columns and cells with the combination of Ctrl, Shift and/or Ctrl+Shift work. If you do't have Excel, you can see the same behavior in Google Sheets here: https://docs.google.com/spreadsheets.

Ctrl - Adds row, column or cell to current selections
Shift - Adds a range (of rows, columns or cells) from current selection to target and replaces anything that is currently selected.
Ctrl + Shift - Adds a range from last item (row, column or cell) selected to target to current selection set

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the row and cell selection cases in the v3 React example at https://bossanova.uk/jexcel/v3/examples/react, comparing Ctrl, Shift, and Ctrl+Shift behavior with Excel or Google Sheets. Done means row, column, and cell selections follow the stated add, replace, and range rules for each modifier combination.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.