JSFiddle - React, Tailwind, and code Playground

HTML

<table id="recordingsTable" style="width:900px" class="tablesorter fixed_table">
</table>

CSS

.fixed_table{
  table-layout: fixed;
  text-align:center;
}

.fixed_table th,td{
  padding:0;
}

JavaScript

var recording_object=[];
recording_object[0]=
{
"id":1,
"text":'test',
"number":10,
"path":'C:/',
"file_name":"1.exe"
};
recording_object[1]=
{
"id":2,
"text":'test2',
"number":22,
"path":'D:/',
"file_name":"2.exe"
};
recording_object[2]=
{
"id":3,
"text":'test3',
"number":340,
"path":'F:/',
"file_name":"3.exe"
};

str = ''
str += '<thead>' +
    '<th style="width:150px;text-align:left !important;border-left:0;">Col 1</th>' +
    '<th style="width:150px;text-align:center !important">Col 2</th>' +
    '<th style="width:300px;text-align: center !important;">Col 3</th>' +
    '<th style="width:100px;text-align: center !important;">Col 4</th>' +
    '<th style="width:100px;text-align: center !important;">Col 5</th>' +
    '<th style="width:100px;text-align: center !important;">Col 6</th>' +
    '</thead><tbody style="border-bottom: 1px solid #dddddd;">';


    for(i=0; i < recording_object.length; i++) {
        str += '<tr>';
        str += '<td style="text-align:left !important; padding-left:8px;border-left:0;">'
        str += recording_object[i].text
        str += '</td>' 
        str += '<td class="s3_file_path">' + recording_object[i].path + '</td>'
        str += '<td class="s3_file_name" style="font-size:11px;">' + recording_object[i].file_name + '</td>'
        str += '<td>' + recording_object[i].number + '</td>'
        str += '<td>';
        str += '<button id="' + recording_object[i].id + '" onclick="dup_dialog(this)" type="button" data-toggle="modal" ' +
            'data-target="#upload-all-modal" disabled="disabled" class="btn btn-primary btn-xs">Duplicate</button>' +
            '</td>'
        str += "<td>";
        str += '<button id="' + recording_object[i].id + '" class="btn btn-primary btn-xs" data-toggle="modal" ' +
            'disabled="disabled" data-target="#association">Association</button>'
        str += '</td></tr>'
    }
    str += '</tbody>'
    
    $(document).ready(function(){
  	  $("#recordingsTable").html(str);  
    });