• Edit
  • Download
  • <!DOCTYPE html>
    <html>
    
    <head>
        <meta charset="utf-8">
        <title>ZingGrid Demo</title>
        <script src="https://cdn.zinggrid.com/zinggrid.min.js" defer></script>
        <style>
            zing-grid[loading] {
                height: 213px;
            }
        </style>
    </head>
    
    <body>
        <zing-grid>
            <zg-colgroup>
                <zg-column index="usd" header="USD" type="currency"></zg-column>
                <zg-column index="eur" header="EUR" type="currency" locale="en-GB" type-currency="EUR"></zg-column>
            </zg-colgroup>
            <zg-data data='[{"usd":1135,"eur":1895},{"usd":23894,"eur":5732},{"usd":613421,"eur":120984}]'></zg-data>
        </zing-grid>
        <script></script>
    </body>
    
    </html>
    <!DOCTYPE html>
    <html>
    	<head>
        <meta charset="utf-8">
        <title>ZingGrid Demo</title>
    		<script src="https://cdn.zinggrid.com/zinggrid.min.js" defer></script>
    	</head>
    	<body>
        <zing-grid>
          <zg-colgroup>
            <zg-column index="usd" header="USD" type="currency"></zg-column>
            <zg-column index="eur" header="EUR" type="currency" locale="en-GB" type-currency="EUR"></zg-column>
          </zg-colgroup>
          <zg-data data='[{"usd":1135,"eur":1895},{"usd":23894,"eur":5732},{"usd":613421,"eur":120984}]'></zg-data>
        </zing-grid>
    	</body>
    </html>