private void fillToMaxColumns ( final List < HeaderCell > headercells ) { if ( headercells . size ( ) < parent . getMaxColCounts ( ) ) { int fills = parent . getMaxColCounts ( ) - headercells . size ( ) ; for ( int s = 0 ; s < fills ; s ++ ) { headercells . add ( new HeaderCell ( "1" , "1" , "" , "" , "" , false , false ) ) ; } } }
Fill to max columns .