• 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>
      <script nonce="undefined">
        // Set license key
        ZingGrid.setLicense(['LICENCE_KEY']);
      </script>
      <style>
        html,
        body {
          height: 100%;
          width: 100%;
          margin: 0;
          padding: 0;
        }
    
        zing-grid[loading] {
          height: 330px;
        }
      </style>
    </head>
    
    <body>
      <h3>Call `setLicense()` to set your license key to remove the watermark (if valid).</h3>
    
      <zing-grid src="https://cdn.zinggrid.com/datasets/user-roles.json">
      </zing-grid>
      <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>
      <script>
        // Set license key
        ZingGrid.setLicense(['LICENCE_KEY']);
      </script>
    </head>
    
    <body>
      <h3>Call `setLicense()` to set your license key to remove the watermark (if valid).</h3>
    
      <zing-grid src="https://cdn.zinggrid.com/datasets/user-roles.json">
      </zing-grid>
    </body>
    
    </html>
    html,
    body {
      height: 100%;
      width: 100%;
      margin: 0;
      padding: 0;
    }