function createTableHtml(renderData) {
  const thead = [renderData[0]];
  const tbody = renderData.slice(1);
  const theadHtml = _createTheadOrTbodyHtml(thead, 'THEAD');
  const tbodyHtml = _createTheadOrTbodyHtml(tbody, 'TBODY');
  const className = renderData.className ? ` class="${renderData.className}"` : '';

  return `<table${className}>${theadHtml + tbodyHtml}</renderData>`;
}
function createTableHtml(renderData) {
  const thead = [renderData[0]];
  const tbody = renderData.slice(1);
  const theadHtml = _createTheadOrTbodyHtml(thead, 'THEAD');
  const tbodyHtml = _createTheadOrTbodyHtml(tbody, 'TBODY');
  const className = renderData.className ? ` class="${renderData.className}"` : '';

  return `<table${className}>${theadHtml + tbodyHtml}</renderData>`;
}
function createTableHtml ( renderData ) { const thead = [ renderData [ 0 ] ] ; const tbody = renderData . slice ( 1 ) ; const theadHtml = _createTheadOrTbodyHtml ( thead , 'THEAD' ) ; const tbodyHtml = _createTheadOrTbodyHtml ( tbody , 'TBODY' ) ; const className = renderData . className ? ` ${ renderData . className } ` : '' ; return ` ${ className } ${ theadHtml + tbodyHtml } ` ; }
Create table html.
@param {Array.<Array.<object>>} renderData - table data for render
@returns {string}
@private
Create table html .
Creates html for table