public final void prepareWorkShee ( final String tabName ) { int tabIndex = findTabIndexWithName ( tabName ) ; if ( parent . getWebFormTabView ( ) != null ) { parent . getWebFormTabView ( ) . setActiveIndex ( tabIndex ) ; } parent . getCurrent ( ) . setCurrentTabName ( tabName ) ; String sheetName = parent . getSheetConfigMap ( ) . get ( tabName ) . getSheetName ( ) ; Sheet sheet1 = parent . getWb ( ) . getSheet ( sheetName ) ; parent . getWb ( ) . setActiveSheet ( parent . getWb ( ) . getSheetIndex ( sheet1 ) ) ; SheetConfiguration sheetConfig = parent . getSheetConfigMap ( ) . get ( tabName ) ; parent . setMaxRowsPerPage ( parent . getSheetConfigMap ( ) . get ( tabName ) . getMaxRowPerPage ( ) ) ; parent . setBodyAllowAddRows ( parent . getSheetConfigMap ( ) . get ( tabName ) . isBodyAllowAddRows ( ) ) ; // populate repeat rows before setup cell range map Map < String , CellRangeAddress > cellRangeMap = ConfigurationUtility . indexMergedRegion ( sheet1 ) ; List < String > skippedRegionCells = ConfigurationUtility . skippedRegionCells ( sheet1 ) ; loadHeaderRows ( sheetConfig , cellRangeMap , skippedRegionCells ) ; loadBodyRows ( sheetConfig , cellRangeMap , skippedRegionCells ) ; }
prepare worksheet for loading . this only load at backend without refresh gui .