Skip to content
#

spreadsheet

Here are 680 public repositories matching this topic...

sheetjs
SheetJSDev
SheetJSDev commented Oct 11, 2020

While I try to change header titles by passing array of titles to options like below it does not override the headers. Instead it writes new headers first and original data with old headers again from next cell.

I am experiencing the same problem.

In addition, sheets js is mutating the header array passed in, which is not something I would ever expect.

Example:

const head
Luckysheet
qflash
qflash commented Dec 16, 2020

一般情况,单元格JSON数据:
{
"ct": { //单元格值格式
"fa": "General", //格式名称为自动格式
"t": "n" //格式类型为数字类型
},
"v": 233, //内容的原始值为 233
"m": 233
}
里面的内容是保存在v里面的

而多行文本的内容却保存在ct里面的s里面的v里面,JSON结构如下
{
"ct": { //单元格值格式
"fa": "General", //格式名称为自动格式
"t": "inlineStr" ,
"s":[{"v":"多行文本\n多行文本"}]
}
}

这两种单元格的JSON结构都不一致呢,导致websocket后端保存数据 update

Improve this page

Add a description, image, and links to the spreadsheet topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the spreadsheet topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.