poi excel單元格合併

sheet.addMergedRegion(new CellRangeAddress(oldValue, newValue, 0, 0)); CellRangeAddress有4個參數:起始行號,終止行號, 起始列號,終止列號 當合並一列的單元格時,可以先渲染全部數據,在進行相同項的合併 public void exportXls(StatisticalInfo model, HttpServle
相關文章
相關標籤/搜索