Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

It is possible to remove all columns [BUG] #1674

Open
anya92 opened this issue Mar 4, 2024 · 0 comments
Open

It is possible to remove all columns [BUG] #1674

anya92 opened this issue Mar 4, 2024 · 0 comments

Comments

@anya92
Copy link

anya92 commented Mar 4, 2024

It is possible to remove all columns (including the first one), if there is more than one, and you select all of them and click "Remove selected columns" from the context menu (e.g. here: Docs).

But if there is only one column and you try to delete it, it is blocked and you get an error in the console: Jspreadsheet: It is not possible to delete the last column.

Would it be possible to introduce a new option to specify whether all columns should be allowed to be deleted? As with rows this was solved with allowDeletingAllRows.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant