• Edit
  • Download
    1. <!DOCTYPE html>
    2. <html>
    3.  
    4. <head>
    5. <meta charset="utf-8">
    6. <title>ZingGrid Demo</title>
    7. <script nonce="undefined" src="https://cdn.zinggrid.com/zinggrid.min.js"></script>
    8. <style>
    9. body {
    10. background: #e6e6e6;
    11. }
    12.  
    13. zing-grid[loading] {
    14. height: 341px;
    15. }
    16. </style>
    17. </head>
    18.  
    19. <body>
    20. <zing-grid data='[{"name": "Oreo","breed":"Mastiff"}, {"name": "Buddy","breed":"Greate Dane"}, {"name": "Max","breed":"Doodle"}]'>
    21. <!-- default is position top so we don't really need to set this attribute -->
    22. <zg-caption position="both">This is a caption position both on top and bottom</zg-caption>
    23. </zing-grid>
    24. <script>
    25. ZingGrid.setLicense(['26ccbfec16b8be9ee98c7d57bee6e498']);
    26. </script>
    27. </body>
    28.  
    29. </html>
    1. <!DOCTYPE html>
    2. <html>
    3.  
    4. <head>
    5. <meta charset="utf-8">
    6. <title>ZingGrid Demo</title>
    7. <script src="https://cdn.zinggrid.com/zinggrid.min.js"></script>
    8. </head>
    9.  
    10. <body>
    11. <zing-grid data='[{"name": "Oreo","breed":"Mastiff"}, {"name": "Buddy","breed":"Greate Dane"}, {"name": "Max","breed":"Doodle"}]'>
    12. <!-- default is position top so we don't really need to set this attribute -->
    13. <zg-caption position="both">This is a caption position both on top and bottom</zg-caption>
    14. </zing-grid>
    15. </body>
    16.  
    17. </html>
    1. body {
    2. background: #e6e6e6;
    3. }
    1.