`
koreyoshi
  • 浏览: 237436 次
  • 性别: Icon_minigender_1
  • 来自: 深圳
社区版块
存档分类
最新评论

导出excel模版中带有批次

阅读更多

--创建单元格

WritableCell cell = new Label(colIndex, rowIndex, value == null ? "" : value.toString(), format);

WritableCellFeatures ft = new WritableCellFeatures();

--设置批注内容
ft.setComment("这里填写批注内容");

--给单元格设置批注
cell.setCellFeatures(ft);

sheet.addCell(cell);

 

思考:如何实现任意列设置批注?

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics