Jspreadsheet is a lightweight vanilla javascript plugin to create amazing web-based interactive tables and spreadsheets compatible with other spreadsheet software.
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.
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
.