jspreadsheet / jspreadsheet/ce
Feature Request: Double-click to resize cell
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 7.2k
- Forks
- 890
- PR merge metrics
- No merged PRs in 30d
Description
Replicate
- Visit https://bossanova.uk/jexcel/v3/
- Double click the line separator between columns on the header row.
Expected Results
The spreadsheet autofits the column to the left of the separator line to the longest string in the column. No sorting is invoked because a header column wasn't clicked (i.e., a draggable line separator is not a column per se).
Actual Results
The column is sorted, the column width does not autofit to the column's contents.
Additional Details
An example showing where to double-click:

The results after double-clicking on a few line separators:

See also:
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 double-click behavior at https://bossanova.uk/jexcel/v3/ and inspect the column resize and sorting interactions involved. Done means double-clicking a header separator autofits the column to its left to its longest cell content without sorting the column.
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