jspreadsheet / jspreadsheet/ce

Feature Request: Double-click to resize cell

Open
#487 2 comments 2 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

Replicate

  1. Visit https://bossanova.uk/jexcel/v3/
  2. 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:

double-click

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

double-click-02

See also:

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 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.