• Edit
  • Download
    1. <!DOCTYPE html>
    2. <html>
    3.  
    4. <head>
    5. <meta charset="utf-8">
    6. <title>ZingGrid Demo</title>
    7. <script nonce="undefined" src="https://cdn.zinggrid.com/zinggrid.min.js"></script>
    8. <script nonce="undefined">
    9. // Set license key
    10. ZingGrid.setLicense(['LICENCE_KEY']);
    11. </script>
    12. <style>
    13. html,
    14. body {
    15. height: 100%;
    16. width: 100%;
    17. margin: 0;
    18. padding: 0;
    19. }
    20.  
    21. zing-grid[loading] {
    22. height: 330px;
    23. }
    24. </style>
    25. </head>
    26.  
    27. <body>
    28. <h3>Call `setLicense()` to set your license key to remove the watermark (if valid).</h3>
    29.  
    30. <zing-grid src="https://cdn.zinggrid.com/datasets/user-roles.json">
    31. </zing-grid>
    32. <script>
    33. ZingGrid.setLicense(['26ccbfec16b8be9ee98c7d57bee6e498']);
    34. </script>
    35. </body>
    36.  
    37. </html>
    1. <!DOCTYPE html>
    2. <html>
    3.  
    4. <head>
    5. <meta charset="utf-8">
    6. <title>ZingGrid Demo</title>
    7. <script src="https://cdn.zinggrid.com/zinggrid.min.js"></script>
    8. <script>
    9. // Set license key
    10. ZingGrid.setLicense(['LICENCE_KEY']);
    11. </script>
    12. </head>
    13.  
    14. <body>
    15. <h3>Call `setLicense()` to set your license key to remove the watermark (if valid).</h3>
    16.  
    17. <zing-grid src="https://cdn.zinggrid.com/datasets/user-roles.json">
    18. </zing-grid>
    19. </body>
    20.  
    21. </html>
    1. html,
    2. body {
    3. height: 100%;
    4. width: 100%;
    5. margin: 0;
    6. padding: 0;
    7. }
    1.