code: public void setTagId(String tagId)
          throws JspException {
          JspContext jspContext = getJspContext();
          DataGridTagModel dataGridModel = DataGridUtil.getDataGridTagModel(jspContext);
          if(dataGridModel == null)
              throw new JspException(Bundle.getErrorString("DataGridTags_MissingDataGridModel"));
  
          int renderState = dataGridModel.getRenderState();
  
          if(renderState == DataGridTagModel.RENDER_STATE_GRID)
              applyIndexedTagId(_trState, tagId);
          else applyTagId(_trState, tagId);
      }
docs: Set the name of the tagId for the HTML tr tag.
  
  @param tagId the the name of the tagId for the table row.
  @jsptagref.attributedescription The tagId for the HTML tr tat.
  @jsptagref.attributesyntaxvalue <i>string_tagId</i>
  @netui:attribute required="false" rtexprvalue="true"
  description="String value. Sets the id (or name) attribute of the HTML tr tag."