You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by beppecosta <be...@yahoo.it> on 2012/10/11 10:35:09 UTC

getLastRowNum returns 0 in XLSX streaming

I'm trying to add rows to an existing xlsx using the streming SXSSFWorkbook
and SXSSFSheet but   sheet.getLastRowNum() always returns 0.

However the existing xlsx is read, because if I force the rowNum in
sheet.createRow(rowNum++) with the actual number of rows already in the
sheet, the new xlsx contains the new rows appended to the existing ones.

I've also tried with beta5.

Thanks.
Beppe



--
View this message in context: http://apache-poi.1045710.n5.nabble.com/getLastRowNum-returns-0-in-XLSX-streaming-tp5711132.html
Sent from the POI - Dev mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org