jspreadsheet / jspreadsheet/ce
v3 Feature Request: Provide Standard Select Functionality via Ctrl, Shift and Ctrl+Shift
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 7.2k
- Forks
- 890
- PR merge metrics
- No merged PRs in 30d
Description
Reproduce:
- Go to https://bossanova.uk/jexcel/v3/examples/react for an available worksheet
- 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:
- Go to https://bossanova.uk/jexcel/v3/examples/react for an available worksheet
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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