easyexcel icon indicating copy to clipboard operation
easyexcel copied to clipboard

excel模板中指定表头信息,将数据写入模板中时如何能根据列号将数据写入指定列

Open Limbozombie opened this issue 7 years ago • 4 comments

比如 模板中 表头为 A B C D 我的数据为 [ [ B1,C1 ], [ B2, C2] ]

导出为 A | B | C | D | B1 | C1 | | B2 | C2 |

Limbozombie avatar Oct 29 '19 12:10 Limbozombie

好像可以使用填充来实现 ( doFill )

Limbozombie avatar Oct 29 '19 12:10 Limbozombie

只能fill

zhuangjiaju avatar Oct 30 '19 13:10 zhuangjiaju

fill在哪个版本有呢?我看2.0及以上都没有fill了。

gem-groups avatar Oct 31 '19 05:10 gem-groups

fill在哪个版本有呢?我看2.0及以上都没有fill了。

我用的2.1.0-beta4 ,应该是2.1.x版本新增的 com.alibaba easyexcel 2.1.0-beta4

Limbozombie avatar Oct 31 '19 06:10 Limbozombie