code: @Override
      public void encodeEnd(final FacesContext context, final UIComponent component) throws IOException {
          final ResponseWriter responseWriter = context.getResponseWriter();
          final Sheet sheet = (Sheet) component;
  
          // update column mappings on render
          sheet.updateColumnMappings();
  
          // sort data
          sheet.sortAndFilter();
  
          // encode markup
          encodeMarkup(context, sheet, responseWriter);
  
          // encode javascript
          encodeScript(context, sheet, responseWriter);
      }
docs: Encodes the Sheet component