List of usage examples for org.apache.poi.ss.usermodel Row removeCell
void removeCell(Cell cell);
From source file:org.tiefaces.components.websheet.utility.WebSheetUtility.java
License:MIT License
/** * Delete cell from row.// www . j ava 2 s . c o m * * @param row * the row * @param cellNum * the cell num */ private static void deleteCellFromRow(final Row row, final int cellNum) { Cell cell = row.getCell(cellNum); if (cell != null) { row.removeCell(cell); } }