protected HeaderRow resetHeaderDefaultRow ( ) { getHeader ( ) . removeRow ( getHeader ( ) . getDefaultRow ( ) ) ; final HeaderRow newHeaderRow = getHeader ( ) . appendRow ( ) ; getHeader ( ) . setDefaultRow ( newHeaderRow ) ; return newHeaderRow ; }
Resets the default row of the header . This means the current default row is removed and replaced with a newly created one .