• Edit
  • Download
    1. <!DOCTYPE html>
    2. <html>
    3.  
    4. <head>
    5. <meta charset="utf-8">
    6. <title>ZingGrid: Blank 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: 165px;
    15. }
    16. </style>
    17. </head>
    18.  
    19. <body>
    20.  
    21. <zing-grid data="{
    22. &quot;Philip&quot;: {
    23. &quot;age&quot;: 34,
    24. &quot;location&quot;: &quot;San Diego&quot;
    25. },
    26. &quot;Bender&quot;: {
    27. &quot;age&quot;: 54,
    28. &quot;location&quot;: &quot;San Francisco&quot;
    29. }
    30. }" role="grid" viewport="tablet-portrait">
    31. <zg-colgroup>
    32. <zg-column index="recordkey" header="Name"></zg-column>
    33. <zg-column index="age"></zg-column>
    34. <zg-column index="location"></zg-column>
    35. </zg-colgroup>
    36. </zing-grid>
    37.  
    38. <script>
    39. ZingGrid.setLicense(['26ccbfec16b8be9ee98c7d57bee6e498']);
    40. </script>
    41. </body>
    42.  
    43. </html>
    1. <!DOCTYPE html>
    2. <html>
    3.  
    4. <head>
    5. <meta charset="utf-8">
    6. <title>ZingGrid: Blank Grid</title>
    7. <script src="https://cdn.zinggrid.com/zinggrid.min.js"></script>
    8. </head>
    9.  
    10. <body>
    11.  
    12. <zing-grid data="{
    13. &quot;Philip&quot;: {
    14. &quot;age&quot;: 34,
    15. &quot;location&quot;: &quot;San Diego&quot;
    16. },
    17. &quot;Bender&quot;: {
    18. &quot;age&quot;: 54,
    19. &quot;location&quot;: &quot;San Francisco&quot;
    20. }
    21. }" role="grid" viewport="tablet-portrait">
    22. <zg-colgroup>
    23. <zg-column index="recordkey" header="Name"></zg-column>
    24. <zg-column index="age"></zg-column>
    25. <zg-column index="location"></zg-column>
    26. </zg-colgroup>
    27. </zing-grid>
    28.  
    29. </body>
    30.  
    31. </html>
    1. body {
    2. background: #e6e6e6;
    3. }
    1.