• Edit
  • Download
    1. <!DOCTYPE html>
    2. <html class="zc-html">
    3.  
    4. <head>
    5. <meta charset="utf-8">
    6. <title>ZingGrid: Simple Grid</title>
    7. <script nonce="undefined" src="https://cdn.zinggrid.com/zinggrid.min.js"></script>
    8. <style>
    9. body {
    10. background: #e6e6e6;
    11. }
    12.  
    13. zing-grid[loading] {
    14. height: 29px;
    15. }
    16. </style>
    17. </head>
    18.  
    19. <body>
    20. <zing-grid src="https://cdn.zinggrid.com/datasets/got-deaths.json">
    21. <zg-colgroup>
    22. <zg-column type="row-group" index="season,episode"></zg-column>
    23. <zg-column index="order"></zg-column>
    24. <zg-column index="character_killed"></zg-column>
    25. <zg-column index="killer"></zg-column>
    26. <zg-column index="method"></zg-column>
    27. <zg-column index="reason"></zg-column>
    28. <zg-column index="allegiance"></zg-column>
    29. </zg-colgroup>
    30. </zing-grid>
    31. <script>
    32. ZingGrid.setLicense(['26ccbfec16b8be9ee98c7d57bee6e498']);
    33. </script>
    34. </body>
    35.  
    36. </html>
    1. <!DOCTYPE html>
    2. <html class="zc-html">
    3.  
    4. <head>
    5. <meta charset="utf-8">
    6. <title>ZingGrid: Simple Grid</title>
    7. <script src="https://cdn.zinggrid.com/zinggrid.min.js"></script>
    8. </head>
    9.  
    10. <body>
    11. <zing-grid src="https://cdn.zinggrid.com/datasets/got-deaths.json">
    12. <zg-colgroup>
    13. <zg-column type="row-group" index="season,episode"></zg-column>
    14. <zg-column index="order"></zg-column>
    15. <zg-column index="character_killed"></zg-column>
    16. <zg-column index="killer"></zg-column>
    17. <zg-column index="method"></zg-column>
    18. <zg-column index="reason"></zg-column>
    19. <zg-column index="allegiance"></zg-column>
    20. </zg-colgroup>
    21. </zing-grid>
    22. </body>
    23.  
    24. </html>
    1. body {
    2. background: #e6e6e6;
    3. }
    1.