jspreadsheet / jspreadsheet/ce
tableWidth not working properly.
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 7.2k
- Forks
- 890
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
Thank you for this awesome library!
I have one problem though when I try to style wrapper div of the table to take 20px margin, the table takes the margin only on the left side.
I tried to set "tableWidth" property to "97vw", it works but as soon as I try to resize the window the table width is broken.


Is there any workaround about this?
Thanks,
Ardit.
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
Reproduce the issue with a wrapper div using 20px margins and tableWidth set to 97vw, then resize the window to observe the broken width. Trace the tableWidth and resize-handling entry points in the JavaScript code. Done means the table keeps the intended wrapper margins and responsive width after resizing.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100