• Edit
  • Download
  • <!DOCTYPE html>
    <html>
    
    <head>
      <meta charset="utf-8">
      <title>ZingGrid Demo</title>
      <script nonce="undefined" src="https://cdn.zinggrid.com/zinggrid.min.js"></script>
      <style>
        html,
        body {
          height: 100%;
          width: 100%;
          margin: 0;
          padding: 0;
        }
    
        zing-grid[loading] {
          height: 332px;
        }
      </style>
    </head>
    
    <body>
      <table is="zing-grid" data-zg-columns-control data-zg-filter data-zg-search data-zg-sort data-zg-pager>
        <colgroup>
          <col data-zg-index="first" data-zg-sort-asc="true">
          </col>
          <col data-zg-index="last">
          </col>
          <col data-zg-index="number" data-zg-header="ID Number" data-zg-hidden="true" data-zg-type="number">
          </col>
        </colgroup>
        <tr>
          <th>First</th>
          <th>Last</th>
          <th data-zg-ignore-row>Number</th>
        </tr>
        <tr>
          <td><b>Maria</b></td>
          <td>John</td>
          <td>123</td>
        </tr>
        <tr>
          <td><ins>David</ins></td>
          <td>Smith</td>
          <td>456</td>
        </tr>
        <tr>
          <td><i>Felicity</i></td>
          <td>Snow</td>
          <td>789</td>
        </tr>
      </table>
      <script>
        ZingGrid.setLicense(['26ccbfec16b8be9ee98c7d57bee6e498']);
      </script>
    </body>
    
    </html>
    <!DOCTYPE html>
    <html>
    
    <head>
      <meta charset="utf-8">
      <title>ZingGrid Demo</title>
      <script src="https://cdn.zinggrid.com/zinggrid.min.js"></script>
    </head>
    
    <body>
      <table is="zing-grid" data-zg-columns-control data-zg-filter data-zg-search data-zg-sort data-zg-pager>
        <colgroup>
          <col data-zg-index="first" data-zg-sort-asc="true">
          </col>
          <col data-zg-index="last">
          </col>
          <col data-zg-index="number" data-zg-header="ID Number" data-zg-hidden="true" data-zg-type="number">
          </col>
        </colgroup>
        <tr>
          <th>First</th>
          <th>Last</th>
          <th data-zg-ignore-row>Number</th>
        </tr>
        <tr>
          <td><b>Maria</b></td>
          <td>John</td>
          <td>123</td>
        </tr>
        <tr>
          <td><ins>David</ins></td>
          <td>Smith</td>
          <td>456</td>
        </tr>
        <tr>
          <td><i>Felicity</i></td>
          <td>Snow</td>
          <td>789</td>
        </tr>
      </table>
    </body>
    
    </html>
    html,
    body {
      height: 100%;
      width: 100%;
      margin: 0;
      padding: 0;
    }