mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-08-18 20:38:02 +08:00
add setFreezePane
This commit is contained in:
@@ -90,6 +90,8 @@ public class ExcelWriteTest {
|
||||
// 一次性写出内容,使用默认样式
|
||||
writer.write(rows);
|
||||
writer.autoSizeColumn(0, true);
|
||||
//冻结前两行
|
||||
writer.setFreezePane(0, 2);
|
||||
// 关闭writer,释放内存
|
||||
writer.close();
|
||||
}
|
||||
|
Reference in New Issue
Block a user