• 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></style>
    9. </head>
    10.  
    11. <body>
    12. <zing-grid>
    13. <zg-colgroup>
    14. <zg-column index="usd" header="USD" type="currency"></zg-column>
    15. <zg-column index="eur" header="EUR" type="currency" locale="en-GB" type-currency="EUR"></zg-column>
    16. </zg-colgroup>
    17. <zg-data data='[{"usd":1135,"eur":1895},{"usd":23894,"eur":5732},{"usd":613421,"eur":120984}]'></zg-data>
    18. </zing-grid>
    19. <script>
    20. ZingGrid.setLicense(['26ccbfec16b8be9ee98c7d57bee6e498']);
    21. </script>
    22. </body>
    23.  
    24. </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>
    12. <zg-colgroup>
    13. <zg-column index="usd" header="USD" type="currency"></zg-column>
    14. <zg-column index="eur" header="EUR" type="currency" locale="en-GB" type-currency="EUR"></zg-column>
    15. </zg-colgroup>
    16. <zg-data data='[{"usd":1135,"eur":1895},{"usd":23894,"eur":5732},{"usd":613421,"eur":120984}]'></zg-data>
    17. </zing-grid>
    18. </body>
    19.  
    20. </html>
    1.  
    1.