多级表头,针对的是DefaultExcelBuilder、DefaultStreamExcelBuilder,效果如下:
@ExcelColumn(title="拓展信息->年龄") Integer age
默认以->作为分隔符,也可自定义分隔符:@ExcelModel(titleSeparator="#")
->
@ExcelModel(titleSeparator="#")
@ExcelColumn(title="拓展信息#年龄") Integer age
如采用动态构建,即使用titles(List<String> titles),代码如下:
titles(List<String> titles)
List<String> titles=new ArrayList<>(); titles.add("拓展信息->年龄");
读取含多级表头数据,当前存在限制,必须符合以下条件:
There was an error while loading. Please reload this page.