简体   繁体   中英

Cell grouping for Apache POI: is there a way to get the plus at the top instead of the bottom?

I'm using Apache POI and I want to group some cells together. However, the expansion icon shows up 1 cell below instead of 1 cell above . Is there any way to fix this?

In excel, I would click on the "outline" advance options and uncheck the "Summary rows below detail" option to fix this issue usually. Any help would be appreciated.

您可以在Sheet / XSSFSheet上使用以下方法

sheet.setRowSumsBelow(false);

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM