dream-num / univer

Univer is an isomorphic full-stack framework for creating and editing spreadsheets, docs, and slides across client and server.
https://univer.ai
Apache License 2.0
7.53k stars 654 forks source link

[Bug] Error deleting selected row #4151

Closed huahunanhuahu closed 1 day ago

huahunanhuahu commented 1 week ago

Before you submit this issue, have you checked the following

Affected packages and versions

用最新0.5.0版本测试问题仍然存在

Reproduction link

1.创建sheet2 image

2.在sheet3中引用sheet2的数据,其中最后一行是每行的总计(使用公式SUM),最后一列是每列的总计(使用公式SUM) image

3.删除某选中行

Expected behavior

该选中行被删除

Actual behavior

该选中行未被删除,删除的是除总计行外的最后一行 image

System information

No response

univer-bot[bot] commented 1 week ago

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿

Origin Title: [Bug] Error deleting selected row

Title: [Bug] Error deleting selected row


Before you submit this issue, have you checked the following

Affected packages and versions

Tested with the latest version 0.5.0 and the problem still exists

Reproduction link

1.Create sheet2 image

  1. Reference the data of sheet2 in sheet3, where the last row is the total of each row (using the formula SUM), and the last column is the total of each column (using the formula SUM) image

  2. Delete a selected row

Expected behavior

The selected row is deleted

Actual behavior

The selected row has not been deleted. What is deleted is the last row except the total row. image

System information

No response

Dushusir commented 6 days ago

Can you provide a complete sample in xlsx or univer json?

jikkai commented 1 day ago

Since you have not provided a reproduction according to the community guidelines, we will close this issue. Once you have prepared a reproduction, feel free to reopen it at any time.