jspreadsheet / jspreadsheet/ce

Feature Request: Allow different white-space and other style properties per column

Open
#1,663 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Sometimes I have columns that not only have a lot of text in them, but also newline characters that need preserved. Currently the white-space can only be set to "" or pre-wrap. It would be helpful to have the ability at the table and column level to set the following:

whitespace=...
text-overflow=...

where the acceptable values are valid values for those style attributes. Specifically, I am hoping to use "pre" for whitespace and "ellipsis" for the text-overflow.

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

No files or tests are named in the issue. Start by locating the existing table- and column-level handling for white-space, then trace how style property values are applied. Done means both white-space and text-overflow accept valid CSS values independently at table and column level, including pre and ellipsis, while preserving newline characters.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.