code: public void changeRenderState(int renderState) {
          switch(_renderState) {
              case RENDER_STATE_UNINIT:
                  _renderState = RENDER_STATE_START;
                  break;
              case RENDER_STATE_START:
                  _renderState = RENDER_STATE_CAPTION;
                  break;
              case RENDER_STATE_CAPTION:
                  _renderState = RENDER_STATE_HEADER;
                  break;
              case RENDER_STATE_HEADER:
                  _renderState = RENDER_STATE_GRID;
                  break;
              case RENDER_STATE_GRID:
                  _renderState = RENDER_STATE_FOOTER;
                  break;
              case RENDER_STATE_FOOTER:
                  _renderState = RENDER_STATE_END;
                  break;
              default:
                  throw new IllegalStateException(Bundle.getErrorString("DataGridTagModel_InvalidStateTransition"));
          }
      }
docs: <p>
  Method that alters the data grid's current render to the new <code>renderState</code>.  If
  the provided render state value is unknown, an {@link IllegalStateException} is thrown.  The
  data grid cycles through its state in this order:
  <ul>
  <li>{@link #RENDER_STATE_START}</li>
  <li>{@link #RENDER_STATE_CAPTION}</li>
  <li>{@link #RENDER_STATE_HEADER}</li>
  <li>{@link #RENDER_STATE_GRID}</li>
  <li>{@link #RENDER_STATE_FOOTER}</li>
  <li>{@link #RENDER_STATE_END}</li>
  </ul>
  </p>
  
  @param renderState the DataGridTagModel's new render state
  @throws IllegalStateException if an invalid state is provided