12

Java 在Excel中创建多级分组、折叠或展开分组-E-iceblue

 4 years ago
source link: https://blog.51cto.com/eiceblue/2498983
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
本文介绍通过Java程序在Excel创建分组的方法,可对行或列分组进行分组并设置明细数据是否展开或折叠。设置数据分组并展开或折叠时,可通过以下方法:方法一:通过方法sheet.groupByRows(intfirstRow,intlastRow,booleanisCollapsed)设置行分组;通过方法sheet.groupByColumns(intfirstColumnm,intlastColu

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK