2013-07-16 31 views

回答

12

可以通過使用

sheet.setColumnHidden(int columnIndex, boolean hidden); 

例如設置一個柱爲隱藏/取消隱藏

sheet.setColumnHidden(2, true); // this will hide the column index 2 
sheet.setColumnHidden(2, false); // this will unhide the column index 2 

列被隱藏或不可使用

sheet.isColumnHidden(int columnIndex); 

檢查例如

sheet.isColumnHidden(2); //this will check the 2nd column index whether it is hidden or not 
相關問題