JXL生成下拉选择框Excel附件

阅读更多
lLabel = new jxl.write.Label(fieldSize, 0, key, lHeaderCellFormat);
WritableCellFeatures wcf = new WritableCellFeatures();
List angerlist = new ArrayList();
angerlist.add("是");
angerlist.add("否");
wcf.setDataValidationList(angerlist);
lLabel.setCellFeatures(wcf);
lReadSheet.addCell(lLabel);
  • jxl3.jar (703.8 KB)
  • 下载次数: 0

你可能感兴趣的:(JXL)