Skip to content
#

excel

Here are 3,218 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

使用spring boot打造文件文档在线预览项目解决方案,支持doc、docx、ppt、pptx、xls、xlsx、zip、rar、mp4,mp3以及众多类文本如txt、html、xml、java、properties、sql、js、md、json、conf、ini、vue、php、py、bat、gitignore等文件在线预览

  • Updated Dec 17, 2020
  • Java

Improve this page

Add a description, image, and links to the excel 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 excel topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.