- <!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>
- .zg-body {
- background: #e6e6e6;
- }
-
- zg-cell img {
- width: 100px;
- height: 100px;
- }
-
- zing-grid[loading] {
- height: 517px;
- }
- </style>
- </head>
-
- <body class="zg-body">
- <zing-grid caption="Actors/Actresses" src="https://cdn.zinggrid.com/datasets/users.json" search pager page-size="4">
- <zg-colgroup>
- <zg-column index="name"></zg-column>
- <zg-column index="actor"></zg-column>
- <zg-column index="job"></zg-column>
- <zg-column index="origin"></zg-column>
- <!-- excluded columns from search -->
- <zg-column type="image" index="img" search="disabled"></zg-column>
- <!-- column so you can view the string for the image url -->
- <zg-column index="img" search="disabled"></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 class="zg-body">
- <zing-grid caption="Actors/Actresses" src="https://cdn.zinggrid.com/datasets/users.json" search pager page-size="4">
- <zg-colgroup>
- <zg-column index="name"></zg-column>
- <zg-column index="actor"></zg-column>
- <zg-column index="job"></zg-column>
- <zg-column index="origin"></zg-column>
- <!-- excluded columns from search -->
- <zg-column type="image" index="img" search="disabled"></zg-column>
- <!-- column so you can view the string for the image url -->
- <zg-column index="img" search="disabled"></zg-column>
- </zg-colgroup>
- </zing-grid>
- </body>
-
- </html>
- .zg-body {
- background: #e6e6e6;
- }
-
- zg-cell img {
- width: 100px;
- height: 100px;
- }