JSFiddle - React, Tailwind, and code Playground

by Kalu Singh Rao

HTML

<asp:GridView ID="Grid" CssClass="table table-striped" style="margin-bottom:0px !important;"
 runat="server" Gridlines="None" AutoGenerateColumns="False" ClientIDMode="Static"></asp:GridView>

JavaScript

$('#Grid').DataTable({
           // 'bSort': false,
            "columnDefs": [
                //{
                //    // The `data` parameter refers to the data for the cell (defined by the
                //    // `data` option, which defaults to the column being worked with, in
                //    // this case `data: 0`.
                //    "render": function (data, type, row) {
                //        return data + ' (' + row[1] + ')';
                //    },
                //    "targets": 0
                //},
            //{ "visible": false, "targets": [1] }
            ],
           // "scrollY": "250px",
            //"scrollCollapse": false,
            "info": true,
            //"paging": true
        });
               
    });