Luckysheet
Luckysheet copied to clipboard
Luckysheet is an online spreadsheet like excel that is powerful, simple to configure, and completely open source.
在某些场景下,可能会需要在单个页面中展示多个excel图表。但是在luckysheet中,如container等都保存在全局的变量当中,导致在当前页面只能存在一个sheet图表!看了源码,感觉一个人改不动......
**Describe the bug** api setCellValue sheet1 单元格输入值,切换到新sheet后 通过api setCellValue 设置公式是表格数据发生错乱。 **To Reproduce** 1. The first step: 添加add按钮,并编写通过api新增行脚本。 ![image](https://github.com/dream-num/Luckysheet/assets/29748353/aa5f3618-20ba-45b3-8ec5-e38280df8b29) 2. The second step: 在“cell” sheet 任意单元格 输入任意值 ![image](https://github.com/dream-num/Luckysheet/assets/29748353/c97306e5-4502-492d-b148-6bc7bbf03b72) 3.The third step:...
在create之后,直接调用insertRow方法,如果当前工作表有公式,会自动计算,但是insertRow逻辑没有经过formula.execFunctionGroup,导致window上没有相关变量,所以公式计算 变量未定义 的错误
场景:批量setCellValue,为了性能,isRefresh全部设置为false,最后再使用refresh渲染 当其中有一个单元格为公式,并且没有加入到公式链中,需要在setCellValue中增加就会导致后续单元格无法渲染 原因:luckysheetformula.updatecell中会深度克隆Store.flowdata,而在isRefresh=false时,不会更新Store.flowdata,所以导致后续单元格无法渲染,同时refresh方法也只从Store.flowdata取值渲染
根据模板动态增加数据,模板中有公式,动态增加数据时,公式需要变化,所以暴露copyFormula方法
**Describe the bug** Say we add numeric values to 3 cells A1, B1, C1, and in D1 we add a formula =SUM(A1, B1, C1). Now when the cell A1 is...
**描述错误** 点击转置直接报错 **重现** 重现错误的步骤: 1.第一步操作:打开demo:https://mengshukeji.github.io/LuckysheetDemo/ 2.第二步操作:切换到Chart页,点击第一个图表的设置按钮打开设置界面 3.第三步操作:点击转置,报错 **期望的结果** 对您期望发生的结果简洁明了的描述。 **屏幕截图或演示** ![image](https://user-images.githubusercontent.com/26371161/102970089-db4e7c00-4531-11eb-92e3-7467cd6fd7e6.png) **环境:** -操作系统:[ Windows] -浏览器 版本号:[Edge最新] -Luckysheet版本:[最新]