Summary: | [INFO NEEDED]Sorting numeric columns with blank values | ||
---|---|---|---|
Product: | POI | Reporter: | Aidan Holmes <aidan.holmes> |
Component: | HSSF | Assignee: | POI Developers List <dev> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | P2 | ||
Version: | 2.5-FINAL | ||
Target Milestone: | --- | ||
Hardware: | Other | ||
OS: | Linux |
Description
Aidan Holmes
2006-11-23 06:10:08 UTC
Sorry, cannot understand this. Could you pls specify what you expect POI to achieve functionally? Thanks You should be able to set any blank cells explicitly: cell.setCellType(HSSFCell.CELL_TYPE_BLANK); Excel displays such cells empty even if number formatting is applied. Excel seems to sort blank values to the bottom regardless of whether the direction is ascending or descending. BTW - empty text cells (which look like blank cells) sort to the top when the direction is descending. |