myliang / x-spreadsheet

The project has been migrated to @wolf-table/table https://github.com/wolf-table/table
https://myliang.github.io/x-spreadsheet
MIT License
14.16k stars 1.7k forks source link

[BUG] Read mode shouldn't allow adding new sheets #508

Closed devgeni closed 3 years ago

devgeni commented 3 years ago

When spreadsheet is initialized in "read" mode it still allows to add and delete new sheets. Is it a bug or a feature? 😉

iamursky commented 3 years ago

We have the same issue. Any solutions?

devgeni commented 3 years ago

Fixed in https://github.com/myliang/x-spreadsheet/commit/c4aaffc10e737ba19f5418e5656d2a7a23e4f09c