jspreadsheet / jspreadsheet/ce

Excel-like behavior with up/down cursors

Open
#682 0 comments 3 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

This grid is amazingly similar to Excel, but one difference is that hitting a cursor key in Excel commits the value and moves in the appropriate direction. Tab and enter (and even shift-tab etc!) are equal in behaviour.

Excel has interesting selection behaviour actually. If you just type and hit an arrow etc, it's almost the cells are in a 'quick entry' mode and you can quickly fly through entering values. But, if you then click on the typed characters, you end up in a 'textbox' mode where left/right cursors move between characters in that cell instead of jumping between cells.

Anyway, given how close it is to having the same behaviour it'd be nice to bring them in line at some point.

Thanks

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 locating the grid's keyboard handling for arrow, Tab, Enter, and Shift-Tab actions, then inspect how cell editing switches between quick-entry and text-editing modes. Compare the current behavior with the requested Excel cases and add focused coverage for committing values, moving cells, and in-cell cursor movement. Done means these interactions consistently match the described behavior.

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.