-
-
Notifications
You must be signed in to change notification settings - Fork 666
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
fix: update freeze incorrect when insert row #2492
Conversation
View Deployment
|
感谢贡献代码! |
Thanks for contributing the code! |
@yuhongz 你好,我的理解,如果锚点正好在冻结的最后一行(也就是freeze.startRow - 1),进行InsertRowAfterCommand 应该是和冻结的最后一行的下一行(也就是freeze.startRow)进行InsertRowBeforeCommand一样的效果,也就是新增的行不应该被冻结的。 |
@yuhongz Hello, my understanding is that if the anchor point is exactly on the last frozen row (that is, freeze.startRow - 1), performing InsertRowAfterCommand should be the same as performing InsertRowBeforeCommand on the next row of the frozen last row (that is, freeze.startRow) The effect is that the newly added rows should not be frozen. |
@yuhongz 哦,有一种情况,如果 |
@yuhongz Oh, there is a situation, if |
d19dd43
to
cdef4f3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
close #2488
Pull Request Checklist