<!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> html, body { height: 100%; width: 100%; margin: 0; padding: 0; } zg-caption h1 { font-size: 2rem; } zg-caption p { font-size: 1rem; } zg-head { font-size: 1.3rem; } zing-grid[loading] { height: 637px; } </style> </head> <body> <zing-grid filter="both"> <zg-colgroup> <zg-column index="inStock" filterer="boolean"></zg-column> <zg-column index="item" filterer="select"></zg-column> <zg-column index="color"></zg-column> <zg-column index="size"></zg-column> <zg-column index="price" filterer="number" type="currency" type-currency="USD"></zg-column> </zg-colgroup> <zg-data data='[{ "inStock": true, "item": "shirt", "color": "red", "size": "medium", "price": "5" }, { "inStock": true, "item": "hat", "color": "brown", "size": "na", "price": "10" }, { "inStock": false, "item": "shirt", "color": "blue", "size": "small", "price": "5" }, { "inStock": true, "item": "jeans", "color": "blue", "size": "large", "price": "25" }, { "inStock": false, "item": "scarf", "color": "purple", "size": "na", "price": "12" }, { "inStock": true, "item": "shirt", "color": "pink", "size": "medium", "price": "14" }, { "inStock": true, "item": "jeans", "color": "black", "size": "large", "price": "40" }, { "inStock": false, "item": "jacket", "color": "black", "size": "medium", "price": "100" }, { "inStock": true, "item": "jeans", "color": "red", "size": "small", "price": "35" }, { "inStock": true, "item": "shirt", "color": "yellow", "size": "medium", "price": "16" }, { "inStock": true, "item": "jacket", "color": "red", "size": "large", "price": "30" }]'></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> </head> <body> <zing-grid filter="both"> <zg-colgroup> <zg-column index="inStock" filterer="boolean"></zg-column> <zg-column index="item" filterer="select"></zg-column> <zg-column index="color"></zg-column> <zg-column index="size"></zg-column> <zg-column index="price" filterer="number" type="currency" type-currency="USD"></zg-column> </zg-colgroup> <zg-data data='[{ "inStock": true, "item": "shirt", "color": "red", "size": "medium", "price": "5" }, { "inStock": true, "item": "hat", "color": "brown", "size": "na", "price": "10" }, { "inStock": false, "item": "shirt", "color": "blue", "size": "small", "price": "5" }, { "inStock": true, "item": "jeans", "color": "blue", "size": "large", "price": "25" }, { "inStock": false, "item": "scarf", "color": "purple", "size": "na", "price": "12" }, { "inStock": true, "item": "shirt", "color": "pink", "size": "medium", "price": "14" }, { "inStock": true, "item": "jeans", "color": "black", "size": "large", "price": "40" }, { "inStock": false, "item": "jacket", "color": "black", "size": "medium", "price": "100" }, { "inStock": true, "item": "jeans", "color": "red", "size": "small", "price": "35" }, { "inStock": true, "item": "shirt", "color": "yellow", "size": "medium", "price": "16" }, { "inStock": true, "item": "jacket", "color": "red", "size": "large", "price": "30" }]'></zg-data> </zing-grid> </body> </html>
html, body { height: 100%; width: 100%; margin: 0; padding: 0; } zg-caption h1 { font-size: 2rem; } zg-caption p { font-size: 1rem; } zg-head { font-size: 1.3rem; }