• 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>
      </style>
    </head>
    
    <body>
      <zing-grid editor>
        <zg-colgroup>
          <zg-column index="name" header="Name"></zg-column>
          <!-- Sets min, max, & step for column of type 'range' -->
          <zg-column index="id" header="ID" type="range" type-range-min="110" type-range-max="130" type-range-step="2"></zg-column>
        </zg-colgroup>
        <zg-data data='[
            {
              "name": "Kenny",
              "id": 124
            },
            {
              "name": "Jon",
              "id": 127
            },
            {
              "name": "Sophia",
              "id": 112
            }
          ]'>
        </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 editor>
        <zg-colgroup>
          <zg-column index="name" header="Name"></zg-column>
          <!-- Sets min, max, & step for column of type 'range' -->
          <zg-column index="id" header="ID" type="range" type-range-min="110" type-range-max="130" type-range-step="2"></zg-column>
        </zg-colgroup>
        <zg-data data='[
            {
              "name": "Kenny",
              "id": 124
            },
            {
              "name": "Jon",
              "id": 127
            },
            {
              "name": "Sophia",
              "id": 112
            }
          ]'>
        </zg-data>
      </zing-grid>
    </body>
    
    </html>