simonbengtsson / jsPDF-AutoTable

jsPDF plugin for generating PDF tables with javascript
https://simonbengtsson.github.io/jsPDF-AutoTable/
MIT License
2.33k stars 624 forks source link

表格项合并时表格项与表头信息不对应 #1049

Closed 18795891073 closed 6 months ago

18795891073 commented 7 months ago

自定义了如下的表格数据:arr = [ [ { content: '1', colspan: 1, rowspan: 1 }, { content: '1', colspan: 1, rowspan: 1 }, { content: '1', colspan: 1, rowspan: 1 }, ], [{ content: '1', colspan: 1, rowspan: 1 }, { content: '1', colspan: 1, rowspan: 1 }, { content: '1', colspan: 1, rowspan: 1 },] ];结果会按照colspan和rowspan的值绘制当前单元格,但发现并不是真的合并,而是将原单元格向后挤压了一个位置,导致表格错位

mmghv commented 7 months ago

English please!

I only see colspan & rowspan of 1 here, which is the default value anyway, so this shouldn't result in any merging of cols or cells.

github-actions[bot] commented 6 months ago

This issue will soon be closed since issues in this project are mainly meant to be bugs or feature requests. Questions are directed to stackoverflow.