JSFiddle - React, Tailwind, and code Playground

HTML

<script src="https://cdn.datatables.net/1.10.17/js/jquery.dataTables.min.js"></script>
<script src="https://cdn.datatables.net/select/1.2.6/js/dataTables.select.min.js"></script>
<link rel="stylesheet" href="https://cdn.datatables.net/buttons/1.5.2/css/buttons.dataTables.min.css">
<link rel="stylesheet" href="https://cdn.datatables.net/select/1.2.6/css/select.dataTables.min.css">
<link rel="stylesheet" href="https://cdn.datatables.net/1.10.17/css/jquery.dataTables.min.css">
<table id="hrm_search_attachment_list" class="display wrap" width="100%">
    <thead>
        <tr>
            <th></th>
            <th>FileName</th>
            <th>Type</th>
            <th>Filetype</th>
        </tr>
    </thead>
    <tfoot>
        <tr>
            <th></th>
            <th>FileName</th>
            <th>Type</th>
            <th>Filetype</th>
        </tr>
    </tfoot>
    <tbody id = 'hrm_result_att'>
        <tr>
            <td></td>
            <td>CV</td>
            <td>something1</td>
            <td>Senior Developer</td>
        </tr>
        <tr>
            <td></td>
            <td>CV2</td>
            <td>something</td>
            <td>Senior Developer</td>
        </tr>
    </tbody>
</table>

JavaScript

var hrm_attachment = $('#hrm_search_attachment_list').DataTable({     
        "lengthMenu": [
            [5, 10, 25, 50],
            [5, 10, 25, 50]
        ],
        columnDefs: [{
            orderable: false,
            className: 'select-checkbox',
            targets:   0
        }],
        select: {
            style:    'os',
            selector: 'td'
        },
    initComplete: function() {
        this.api().rows().select();
    },
        order: [[ 1, 'asc' ]]
});