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 #11

Open
bojue opened this issue Dec 1, 2020 · 2 comments
Open

合并单元格bug #11

bojue opened this issue Dec 1, 2020 · 2 comments
Labels
bug Something isn't working

Comments

@bojue
Copy link
Owner

bojue commented Dec 1, 2020

  • 左下角往上选择合并过的区域bug
  • 涉及到边界的区域选择bug
  • 合并之前合并过的区域的bug
@bojue bojue added the bug Something isn't working label Dec 1, 2020
@bojue
Copy link
Owner Author

bojue commented Dec 15, 2020

原因:

  • 合并单元格遍历算法不严谨
  • 合并单元格状态字段未更新

@bojue
Copy link
Owner Author

bojue commented Dec 16, 2020

最近在思考一个问题,目前的数据结构可能无法满足现在的需求

  • 使用现在的数据结构,在初始条件需要遍历整个Excel数据单元格判断区域选中,可以满足区域判断但是有性能问题
  • 引入新的辅助数据结构字段:合并单元缓存map,将合并的数据单元格映射对应的区域合并字段,可以解决遍历的困境,但是需要维护区域选择缓存数据

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant