<!DOCTYPE html>
<html>
  <head>
    <script src="https://code.jquery.com/jquery-3.7.1.min.js"></script>
    <link href="https://nightly.datatables.net/css/dataTables.dataTables.css" rel="stylesheet" type="text/css" />
    <script src="https://nightly.datatables.net/js/dataTables.js"></script>
    <meta charset=utf-8 />
    <title>DataTables - JS Bin</title>
  </head>
  <body>
    <div class="container">
      <table id="example" class="display nowrap" width="100%">
        <thead>
          <tr>
            <th>Name</th>
            <th>Position</th>
            <th>Office</th>
            <th>Age</th>
            <th>Start date</th>
            <th>Salary</th>
            <th>Name</th>
            <th>Position</th>
            <th>Office</th>
            <th>Age</th>
            <th>Start date</th>
          </tr>
        </thead>
        <tfoot>
          <tr>
            <th>Name</th>
            <th>Position</th>
            <th>Office</th>
            <th>Age</th>
            <th>Start date</th>
            <th>Salary</th>
            <th>Name</th>
            <th>Position</th>
            <th>Office</th>
            <th>Age</th>
            <th>Start date</th>
          </tr>
        </tfoot>
        <tbody>
          <tr>
            <td>Tiger Nixon</td>
            <td>System Architect</td>
            <td>Edinburgh</td>
            <td>61</td>
            <td>2011/04/25</td>
            <td>$3,120</td>
            <td>Tiger Nixon</td>
            <td>System Architect</td>
            <td>Edinburgh</td>
            <td>61</td>
            <td>2011/04/25</td>
          </tr>
        </tbody>
      </table>
    </div>
  </body>
</html>
 
body {
  font: 90%/1.45em "Helvetica Neue", HelveticaNeue, Verdana, Arial, Helvetica, sans-serif;
  margin: 0;
  padding: 0;
  color: #333;
  background-color: #fff;
}
 
var dtColumns = [
    {"data": "inv_number",          "classname": "row-inv_number",           "name": "inv_number",          "orderable" : true },
    {"data": "inv_date",            "classname": "row-inv_date",             "name": "inv_date",            "orderable" : true },
    {"data": "inv_description",     "classname": "row-inv_description",      "name": "inv_description",     "orderable" : true },
    {"data": "job_address",         "classname": "row-job_address",          "name": "job_address",         "orderable" : true },
    {"data": "inv_amount",          "classname": "row-inv_amount",           "name": "inv_amount",          "orderable" : true },
    {"data": "inv_duedate",         "classname": "row-inv_duedate",          "name": "inv_duedate",         "orderable" : true },
    {"data": "paid_amt_paid",       "classname": "row-paid_amt_paid",        "name": "paid_amt_paid",       "orderable" : true },
    {"data": "paid_payment_date",   "classname": "row-paid_payment_date",    "name": "paid_payment_date",   "orderable" : true },
    {"data": "paid_check_num",      "classname": "row-paid_check_num",       "name": "paid_check_num",      "orderable" : true },
    {"data": "paid_net_due",        "classname": "row-paid_net_due",         "name": "paid_net_due",        "orderable" : true },
    {"data": "actions",             "classname": "row-rowactionbuttons",     "name": "actions",             "orderable" : false}
]
var table = new DataTable('#example', {
  columns: dtColumns,
});
Output 300px

You can jump to the latest bin by adding /latest to your URL

Dismiss x
public
Bin info
anonymouspro
0viewers