Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 java 中的 ms excel。有人知道如何对行进行分组吗?POI或jxl有这个功能吗?我搜索了文档,但没有找到答案。
我找到了答案。你只需要调用org.apache.poi.ss.usermodel.Sheet.groupRow()方法。
org.apache.poi.ss.usermodel.Sheet.groupRow()