• Edit
  • Download
  • <!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></style>
    </head>
    
    <body>
      <zing-grid editor>
        <zg-data data='[{
          "item": "mug",
          "date": "06/12/2017",
          "quantity": 4
        },
        {
          "item": "shorts",
          "date": "03/24/2017",
          "quantity": 1
        },
        {
          "item": "baseball cap",
          "date": "12/23/2016",
          "quantity": 2
        }]'></zg-data>
        <zg-colgroup>
          <zg-column index="item" header="Item" type="text"></zg-column>
          <zg-column index="date" header="Purchased Date" type="date"></zg-column>
          <zg-column index="quantity" header="Quantity" type="number"></zg-column>
        </zg-colgroup>
      </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 editor>
        <zg-data data='[{
          "item": "mug",
          "date": "06/12/2017",
          "quantity": 4
        },
        {
          "item": "shorts",
          "date": "03/24/2017",
          "quantity": 1
        },
        {
          "item": "baseball cap",
          "date": "12/23/2016",
          "quantity": 2
        }]'></zg-data>
        <zg-colgroup>
          <zg-column index="item" header="Item" type="text"></zg-column>
          <zg-column index="date" header="Purchased Date" type="date"></zg-column>
          <zg-column index="quantity" header="Quantity" type="number"></zg-column>
        </zg-colgroup>
      </zing-grid>
    </body>
    
    </html>