<!DOCTYPE html>
<html>
  <head>
    <script src="https://code.jquery.com/jquery-3.7.1.min.js"></script>
    <script src="https://cdn.datatables.net/2.1.8/js/dataTables.js"></script>
<link href="https://cdn.datatables.net/2.1.8/css/dataTables.dataTables.css" rel="stylesheet" type="text/css" />
        
    <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 colspan="4" data-dt-order="disable">span1</th>
        <th colspan="5" data-dt-order="disable">span2</th>
    </tr>
    <tr >
        <th>Table Header Cell 1</th>
        <th>Table Header Cell 2</th>
        <th data-visible="false" >Table Header Cell 3a Fake Date Sort</th>
        <th >Table Header Cell 3b Date Sort custom data field</th>
        <th data-sortable="false">Table Header Cell 4 (no sort)</th>
        <th>Table Header Cell 5 (custom data-sort)</th>
        <th class="selectFilter" data-aggregate="concat-unique">Table Header Cell 6</th>
        <th data-searchable="false">Table Header Cell 7 (no filter)</th>
        <th data-visible="false">Table Header Cell 8 (hidden)</th>
    </tr>
 
</thead>
        <tbody>
          <tr>
            <td>1</td>
            <td>2</td>
            <td>3</td>
            <td>4</td>
            <td>5</td>
            <td>6</td>
            <td>7</td>
            <td>8</td>
            <td>9</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;
}
Output 300px

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

Dismiss x
public
Bin info
anonymouspro
0viewers