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

[Bug]: A bug caused by sheetRename #10928

Open
yanyinqing opened this issue Apr 17, 2024 · 1 comment
Open

[Bug]: A bug caused by sheetRename #10928

yanyinqing opened this issue Apr 17, 2024 · 1 comment

Comments

@yanyinqing
Copy link

yanyinqing commented Apr 17, 2024

Describe the bug

If I want to update the sheetName of a sheet, but the data of other sheets will be disordered, the example is as follows.The third picture is just running, and the fourth chapter is after clicking rename button. First, the formula of my second sheet is not calculated, and secondly, the third cell that is obviously empty inherits the third cell of the first sheet.

Video/Screenshots

image image image image image

Provide a link to the demo with the bug reproduction

No response

Handsontable version

14.3.0

Framework version

vue2.7.0

Your environment

edge MacOS

@yanyinqing yanyinqing added the bug label Apr 17, 2024
@adrianszymanski89
Copy link
Contributor

Hi @yanyinqing

We recently fixed a bug related to this. Can you please try this approach?

First, obtain the sheet id this way:

let id = hyperformulaInstance.getSheetId('Sheet1')

Then, rename it like this:

hyperformulaInstance.renameSheet(id, 'Lorem Ipsum')

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

No branches or pull requests

2 participants