- <!DOCTYPE html>
- <html>
-
- <head>
- <meta charset="utf-8">
- <title>ZingGrid Demo</title>
- <script nonce="undefined" src="https://cdn.zinggrid.com/zinggrid.min.js"></script>
- <style>
- body {
- background: #e6e6e6;
- }
-
- zing-grid[loading] {
- height: 84px;
- }
- </style>
- </head>
-
- <body>
- <zing-grid group-by="grade" pager page-size="5" data='[
- {"first": "Maria", "last": "Doe", "grade": 12, "score": 80 },
- {"first": "David", "last": "Smith", "grade": 11, "score": 87 },
- {"first": "Felicity", "last": "Snow","grade": 11, "score": 65 },
- {"first": "Doe", "last": "Johnson", "grade": 12, "score": 95 },
- {"first": "Caitlyn", "last": "Wilson", "grade": 11, "score": 78 },
- {"first": "Maria", "last": "Scott", "grade": 11, "score": 57 },
- {"first": "Adam", "last": "Pierce", "grade": 12, "score": 85 },
- {"first": "Tiffany", "last": "Levine", "grade": 12, "score": 96 },
- {"first": "Link", "last": "Ford", "grade": 12, "score": 66 }
- ]'>
- <zg-colgroup>
- <zg-column index="first"></zg-column>
- <zg-column index="last"></zg-column>
- <zg-column index="score" group-head-cell="avg"></zg-column>
- </zg-colgroup>
- </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>
- </head>
-
- <body>
- <zing-grid group-by="grade" pager page-size="5" data='[
- {"first": "Maria", "last": "Doe", "grade": 12, "score": 80 },
- {"first": "David", "last": "Smith", "grade": 11, "score": 87 },
- {"first": "Felicity", "last": "Snow","grade": 11, "score": 65 },
- {"first": "Doe", "last": "Johnson", "grade": 12, "score": 95 },
- {"first": "Caitlyn", "last": "Wilson", "grade": 11, "score": 78 },
- {"first": "Maria", "last": "Scott", "grade": 11, "score": 57 },
- {"first": "Adam", "last": "Pierce", "grade": 12, "score": 85 },
- {"first": "Tiffany", "last": "Levine", "grade": 12, "score": 96 },
- {"first": "Link", "last": "Ford", "grade": 12, "score": 66 }
- ]'>
- <zg-colgroup>
- <zg-column index="first"></zg-column>
- <zg-column index="last"></zg-column>
- <zg-column index="score" group-head-cell="avg"></zg-column>
- </zg-colgroup>
- </zing-grid>
- </body>
-
- </html>
- body {
- background: #e6e6e6;
- }