本帖最后由 Lynn.Dou 于 2022-9-27 12:21 编辑
在有表头且有冻结行的情况下,我通过调用以下代码导出,冻结行的效果不见了,我如何同时保留表头和冻结行
- let json = this.spread.toJSON({ includeBindingSource: true,columnHeadersAsFrozenRows:true });
- // here is excel IO API
- this.excelIo.save(json, function (blob) {
- saveAs(blob, fileName);
- }, function (e) {
- // process error
- console.log(e);
- }, {});
复制代码
以下是spreadJs的效果
|
|