dream-num / univer

Univer is an open-source alternative to Google Sheets, Slides, and Docs
https://univer.ai
Apache License 2.0
5.68k stars 469 forks source link

[Feature] Select multiple cells #2625

Open 18860852449 opened 6 days ago

18860852449 commented 6 days ago

Initial checklist

Problem

Hello, currently we would like to obtain the relevant properties of multiple cells selected by the user while holding down the Ctrl key, such as cell position, cell content, etc. We also hope to consider merging cells. In addition, we also hope to obtain the cell properties of the four adjacent cells in the top, bottom, left, and right of each cell. For example: [{position: A1, value: 123, topCell: {}, rightCell: {}, bottomCell: {}, leftCell: {}}, {position: C6, value: 456, topCell: {}, rightCell: {}, bottomCell: {}, leftCell: {}}, {position: E9, value: 789, topCell: {}, rightCell: {}, bottomCell: {}, leftCell: {}] The functionality will definitely help most users bring convenience in the later stage.

Solution

So I hope the official can come up with a facade API to help us solve the current problem