<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>ZingGrid Demo</title> <script nonce="undefined" src="https://cdn.zinggrid.com/zinggrid.min.js"></script> <script nonce="undefined" src="https://cdn.zinggrid.com/zinggrid.min.js"></script> <style> html, body { height: 100%; width: 100%; margin: 0; padding: 0; } zing-grid[loading] { height: 282px; } </style> </head> <body> <zing-grid> <zg-colgroup> <zg-column index="name" type="element" type-element-tag-name="h1"></zg-column> <zg-column index="number" type="element" type-element-tag-name="em"></zg-column> <zg-column index="age"></zg-column> </zg-colgroup> <zg-data data='[{"name": "Maria","number": 123, "age": 5}, {"name": "Juanita","number": 456, "age": 36}, {"name": "Felicity","number": 789, "age": 44}]'></zg-data> </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> <script src="https://cdn.zinggrid.com/zinggrid.min.js"></script> </head> <body> <zing-grid> <zg-colgroup> <zg-column index="name" type="element" type-element-tag-name="h1"></zg-column> <zg-column index="number" type="element" type-element-tag-name="em"></zg-column> <zg-column index="age"></zg-column> </zg-colgroup> <zg-data data='[{"name": "Maria","number": 123, "age": 5}, {"name": "Juanita","number": 456, "age": 36}, {"name": "Felicity","number": 789, "age": 44}]'></zg-data> </zing-grid> </body> </html>
html, body { height: 100%; width: 100%; margin: 0; padding: 0; }