@Override public String getColumnName(int columnIndex) { if (config != null) { return Tools.getExcelColumnName(columnIndex + config.getColumnOffset()); } else { return Tools.getExcelColumnName(columnIndex); } }
@Override public String getColumnName(int columnIndex) { if (columnIndex == 0) { // RowNo. return "Row No."; } columnIndex--; // here the table header is implicitly set to the attributes name return Tools.getExcelColumnName(columnIndex); // return reader.getAttributeColumn(columnIndex).getName(); }