• Edit
  • Download
    1. <!DOCTYPE html>
    2. <html class="zg-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. <style>
    9. .zg-html,
    10. .zg-body {
    11. height: 100%;
    12. width: 100%;
    13. margin: 0;
    14. padding: 0;
    15. }
    16.  
    17. zing-grid[loading] {
    18. height: 613px;
    19. }
    20. </style>
    21. </head>
    22.  
    23. <body class="zg-body">
    24. <zing-grid caption="Class Syllabus" editor sort columns-control>
    25. <zg-colgroup>
    26. <zg-column index="week" header="Week"></zg-column>
    27. <zg-column index="topic" header="Topic"></zg-column>
    28. <zg-column index="reading" header="Reading Assignment"></zg-column>
    29. </zg-colgroup>
    30. <zg-data data='[
    31. {"week": 1, "topic": "Needfinding", "reading": "1.1-1.5"},
    32. {"week": 2, "topic": "Prototyping", "reading": "2.1-2.4, 3.1"},
    33. {"week": 3, "topic": "Heuristic Evaluation", "reading": "4.2, 4.5"},
    34. {"week": 4, "topic": "Mental Models", "reading": "none"},
    35. {"week": 5, "topic": "Advanced Front-end Web Development", "reading": "5.1-5.6"},
    36. {"week": 6, "topic": "Visual Design", "reading": "none"},
    37. {"week": 7, "topic": "Runnning Experiments", "reading": "6.1, 6.3"},
    38. {"week": 8, "topic": "Information Foraging", "reading": "7.5-7.7"},
    39. {"week": 9, "topic": "Analytics and A/B Testing", "reading": "8.1-8.4"},
    40. {"week": 10, "topic": "Final Presentations", "reading": "none"}]'></zg-data>
    41. </zing-grid>
    42. <script>
    43. ZingGrid.setLicense(['26ccbfec16b8be9ee98c7d57bee6e498']);
    44. </script>
    45. </body>
    46.  
    47. </html>
    1. <!DOCTYPE html>
    2. <html class="zg-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. </head>
    9.  
    10. <body class="zg-body">
    11. <zing-grid caption="Class Syllabus" editor sort columns-control>
    12. <zg-colgroup>
    13. <zg-column index="week" header="Week"></zg-column>
    14. <zg-column index="topic" header="Topic"></zg-column>
    15. <zg-column index="reading" header="Reading Assignment"></zg-column>
    16. </zg-colgroup>
    17. <zg-data data='[
    18. {"week": 1, "topic": "Needfinding", "reading": "1.1-1.5"},
    19. {"week": 2, "topic": "Prototyping", "reading": "2.1-2.4, 3.1"},
    20. {"week": 3, "topic": "Heuristic Evaluation", "reading": "4.2, 4.5"},
    21. {"week": 4, "topic": "Mental Models", "reading": "none"},
    22. {"week": 5, "topic": "Advanced Front-end Web Development", "reading": "5.1-5.6"},
    23. {"week": 6, "topic": "Visual Design", "reading": "none"},
    24. {"week": 7, "topic": "Runnning Experiments", "reading": "6.1, 6.3"},
    25. {"week": 8, "topic": "Information Foraging", "reading": "7.5-7.7"},
    26. {"week": 9, "topic": "Analytics and A/B Testing", "reading": "8.1-8.4"},
    27. {"week": 10, "topic": "Final Presentations", "reading": "none"}]'></zg-data>
    28. </zing-grid>
    29. </body>
    30.  
    31. </html>
    1. .zg-html,
    2. .zg-body {
    3. height: 100%;
    4. width: 100%;
    5. margin: 0;
    6. padding: 0;
    7. }
    1.