jspreadsheet / jspreadsheet/ce

jspreadsheet version 5 doesn't have tabs property?

Open
#1,743 0 comments 2 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

I'm trying to upgrade from version 4 to version 5.
For our integration, it doesn't make sense to have multiple worksheets.
Because of that I'm trying to hide the tabs option to navigate between worksheets.
I see here that I should have a tabs property available:
https://bossanova.uk/jspreadsheet/docs/worksheets
But it seems to have multiple types definitions:

Image

Image

and if I try to add in our code:
I get a type error:

Image

Image

I actually hope I will be able to do: "tabs: false"
Am I missing something?

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 with the worksheets documentation and the conflicting type definitions shown in the issue. Check how the version 5 API types the tabs option and verify whether tabs: false is accepted; done means the documented behavior and TypeScript definitions agree.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 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.