문제

My requirement is exactly similar to below given sample code except for the expansion is reverse here i.e on expanding (+) 7th row it shows from 4th row.

http://www.mysamplecode.com/2011/10/apache-poi-excel-row-group-collapse.html

My requirement is just opposite expansion sign(+) to be 4th row and on expand show rows till 7th.

Is there any way we can achieve this. I tried all available methods ..it appears to be I got exhausted.

도움이 되었습니까?

해결책

sheet1.setRowSumsBelow(false);

This excel attribute is set for the whole sheet (applies to all groups of rows inside the sheet).

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top