- <!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>
- zing-grid[loading] {
- height: 221px;
- }
- </style>
- </head>
-
- <body>
- <zing-grid>
- <zg-data data='[{
- "item": "strawberry",
- "image": "https://img.icons8.com/doodle/48/000000/strawberry-2.png"
- },
- {
- "item": "bacon",
- "image": "https://img.icons8.com/emoji/48/000000/bacon-emoji.png"
- },
- {
- "item": "sword",
- "image": "https://img.icons8.com/fluent-systems-filled/24/000000/sword.png",
- "customstyle": "border: 1px dashed gray"
- }]'></zg-data>
- <zg-colgroup>
- <zg-column index="item" header="Item"></zg-column>
- <zg-column index="image" header="Image" type="image" type-image-alt="missing image"></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>
- <zg-data data='[{
- "item": "strawberry",
- "image": "https://img.icons8.com/doodle/48/000000/strawberry-2.png"
- },
- {
- "item": "bacon",
- "image": "https://img.icons8.com/emoji/48/000000/bacon-emoji.png"
- },
- {
- "item": "sword",
- "image": "https://img.icons8.com/fluent-systems-filled/24/000000/sword.png",
- "customstyle": "border: 1px dashed gray"
- }]'></zg-data>
- <zg-colgroup>
- <zg-column index="item" header="Item"></zg-column>
- <zg-column index="image" header="Image" type="image" type-image-alt="missing image"></zg-column>
- </zg-colgroup>
- </zing-grid>
- </body>
-
- </html>