• 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>
        body {
          background: #e6e6e6;
        }
    
        zing-grid {
          overflow: hidden;
        }
    
        zing-grid[loading] {
          height: 428px;
        }
      </style>
    </head>
    
    <body>
      <zing-grid editor pager page-size="5">
        <zg-caption>Employees</zg-caption>
        <zg-colgroup>
          <zg-column index="dept"></zg-column>
          <zg-column index="hire"></zg-column>
          <zg-column index="gender"></zg-column>
          <zg-column index="name"></zg-column>
          <zg-column type="editor"></zg-column>
          <zg-column type="remover"></zg-column>
        </zg-colgroup>
        <zg-data adapter="firebase" src="https://jsdocs-9d00d.firebaseio.com/employees_forEdit"></zg-data>
      </zing-grid>
      <script></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>
      <zing-grid editor pager page-size="5">
        <zg-caption>Employees</zg-caption>
        <zg-colgroup>
          <zg-column index="dept"></zg-column>
          <zg-column index="hire"></zg-column>
          <zg-column index="gender"></zg-column>
          <zg-column index="name"></zg-column>
          <zg-column type="editor"></zg-column>
          <zg-column type="remover"></zg-column>
        </zg-colgroup>
        <zg-data adapter="firebase" src="https://jsdocs-9d00d.firebaseio.com/employees_forEdit"></zg-data>
      </zing-grid>
    </body>
    
    </html>
    body {
      background: #e6e6e6;
    }
    
    zing-grid {
      overflow: hidden;
    }