Instantly share code, notes, and snippets.

Embed
What would you like to do?
Row Header for the Excel Tutorial on the SSaurel's Channel
// Create a Row
Row headerRow = sheet.createRow(0);
for (int i = 0; i < columns.length; i++) {
Cell cell = headerRow.createCell(i);
cell.setCellValue(columns[i]);
cell.setCellStyle(headerCellStyle);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment