隐藏行:
sheet.isPaintSuspended(true);
sheet.setRowVisible(1, false);
sheet.setRowVisible(2, false);
sheet.isPaintSuspended(false);
显示行:
sheet.isPaintSuspended(true);
sheet.setRowVisible(1, true);
sheet.setRowVisible(2, true);
sheet.isPaintSuspended(false); |