JSFiddle - React, Tailwind, and code Playground

HTML

<html lang="en">

<head onload="return disableBack()">

    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
    <meta name="description" content="">
    <meta name="author" content="">
    <title>My Company</title>
    <link rel="shortcut icon" type="image/x-icon" href="../img/favicon.ico">

    <!-- Bootstrap core CSS -->
    <link rel="stylesheet" href="http://cdnjs.cloudflare.com/ajax/libs/bootstrap-datepicker/1.3.0/css/datepicker.min.css" type="text/css">
    <link href="/css/bootstrap.min.css" rel="stylesheet">

    <!-- Custom styles for this template -->


    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>


    <link rel="stylesheet" href="http://cdn.datatables.net/1.10.19/css/jquery.dataTables.min.css">
    <link rel="stylesheet" href="https://cdn.datatables.net/fixedheader/3.1.5/css/fixedHeader.dataTables.min.css">
    <!--For Attendance Report-->

    <link rel="stylesheet" href="https://cdn.datatables.net/rowgroup/1.1.0/css/rowGroup.dataTables.min.css">




    <style rel="stylesheet" href="https://cdn.datatables.net/buttons/1.5.2/css/buttons.dataTables.min.css"></style>



    <script src="/js/jquery.unobtrusive-ajax.min.js"></script>

    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
    <!--[if lt IE 9]>
      <script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
      <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
    <![endif]-->
</head>

<body onload="return disableBack()">

    <div class="container-fluid">
        <div class="row">

            <div class="main">

                <div class="main-content" id="content">
                    <style>
                        tr.odd...

JavaScript

$(document).ready(function() {
                            $('#example').DataTable({
                                order: [
                                    [0, 'asc'],
                                    [1, 'asc']
                                ],
                                rowGroup: {
                                    dataSrc: [0, 1],

                                    startRender: function(rows, group) {
                                        return $('<tr></tr>')
                                            .append('<td class="td-left" >' + group + '</td>');

                                    }
                                },
                                scrollY: "500px",
                                scrollX: true,
                                paging: false,
                                columnDefs: [{
                                    targets: [0, 1],
                                    visible: false
                                }]



                            });
                        })