• Edit
  • Download
  • <!DOCTYPE html>
    <html>
    
    <head>
      <meta charset="utf-8">
      <title>ZingGrid: Blank Grid</title>
      <script nonce="undefined" src="https://cdn.zinggrid.com/zinggrid.min.js"></script>
      <style>
        body {
          background: #e6e6e6;
        }
    
        zing-grid[loading] {
          height: 421px;
        }
      </style>
    </head>
    
    <body>
      <zing-grid caption="Employees" sort>
        <zg-colgroup>
          <zg-column index="name"></zg-column>
          <zg-column index="actor"></zg-column>
          <zg-column index="job"></zg-column>
          <zg-column index="gender"></zg-column>
          <zg-column index="species"></zg-column>
          <zg-column index="origin"></zg-column>
        </zg-colgroup>
        <zg-data src="https://us-central1-zingsoft-demo-endpoints.cloudfunctions.net/zinggrid-docs-crud-basics/db">
          <zg-param name="recordPath" value="company.employees"></zg-param>
        </zg-data>
      </zing-grid>
      <script>
        ZingGrid.setLicense(['26ccbfec16b8be9ee98c7d57bee6e498']);
      </script>
    </body>
    
    </html>
    <!DOCTYPE html>
    <html>
    
    <head>
      <meta charset="utf-8">
      <title>ZingGrid: Blank Grid</title>
      <script src="https://cdn.zinggrid.com/zinggrid.min.js"></script>
    </head>
    
    <body>
      <zing-grid caption="Employees" sort>
        <zg-colgroup>
          <zg-column index="name"></zg-column>
          <zg-column index="actor"></zg-column>
          <zg-column index="job"></zg-column>
          <zg-column index="gender"></zg-column>
          <zg-column index="species"></zg-column>
          <zg-column index="origin"></zg-column>
        </zg-colgroup>
        <zg-data src="https://us-central1-zingsoft-demo-endpoints.cloudfunctions.net/zinggrid-docs-crud-basics/db">
          <zg-param name="recordPath" value="company.employees"></zg-param>
        </zg-data>
      </zing-grid>
    </body>
    
    </html>
    body {
      background: #e6e6e6;
    }