• 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: 197px;
        }
      </style>
    </head>
    
    <body>
    
      <zing-grid caption="MongoDB Users" compact="" zebra="" data='[{"_id":"5b6a098834a76e08a9dd779c","name":"Tim","age":21}, {"_id":"5b6a098834a76e08a9dd779d","name":"Alice","age":30}, {"_id":"5b6a098834a76e08a9dd779e","name":"Henry","age":45}]' role="grid" viewport="tablet-portrait">
        <zg-colgroup>
          <zg-column index="name"></zg-column>
        </zg-colgroup>
      </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="MongoDB Users" compact="" zebra="" data='[{"_id":"5b6a098834a76e08a9dd779c","name":"Tim","age":21}, {"_id":"5b6a098834a76e08a9dd779d","name":"Alice","age":30}, {"_id":"5b6a098834a76e08a9dd779e","name":"Henry","age":45}]' role="grid" viewport="tablet-portrait">
        <zg-colgroup>
          <zg-column index="name"></zg-column>
        </zg-colgroup>
      </zing-grid>
    
    </body>
    
    </html>
    body {
      background: #e6e6e6;
    }