• Edit
  • Download
  • <!DOCTYPE html>
    <html>
    
    <head>
      <meta charset="utf-8">
      <title>ZingGrid: Basic Template</title>
      <script nonce="undefined" src="https://cdn.zinggrid.com/zinggrid.min.js"></script>
      <style>
        body {
          background: #e6e6e6;
        }
    
        zing-grid[loading] {
          height: 213px;
        }
      </style>
    </head>
    
    <body>
    
      <h3>`[headerTooltipText]` sets the tooltip text for the header cell fo the column.</h3>
    
      <zing-grid>
        <zg-data data='[
            {
              "name": "Maria",
              "number": 123
            },
            {
              "name": "Juanita",
              "number": 456
            },
            {
              "name": "Felicity",
              "number": 789
            }
          ]'></zg-data>
        <zg-colgroup>
          <zg-column index="name" header-tooltip-text="First Name"></zg-column>
          <zg-column index="number" header-tooltip-text="ID Number"></zg-column>
        </zg-colgroup>
      </zing-grid>
    
      <script>
        ZingGrid.setLicense(['26ccbfec16b8be9ee98c7d57bee6e498']);
      </script>
    </body>
    
    </html>
    <!DOCTYPE html>
    <html>
    
    <head>
      <meta charset="utf-8">
      <title>ZingGrid: Basic Template</title>
      <script src="https://cdn.zinggrid.com/zinggrid.min.js"></script>
    </head>
    
    <body>
    
      <h3>`[headerTooltipText]` sets the tooltip text for the header cell fo the column.</h3>
    
      <zing-grid>
        <zg-data data='[
            {
              "name": "Maria",
              "number": 123
            },
            {
              "name": "Juanita",
              "number": 456
            },
            {
              "name": "Felicity",
              "number": 789
            }
          ]'></zg-data>
        <zg-colgroup>
          <zg-column index="name" header-tooltip-text="First Name"></zg-column>
          <zg-column index="number" header-tooltip-text="ID Number"></zg-column>
        </zg-colgroup>
      </zing-grid>
    
    </body>
    
    </html>
    body {
      background: #e6e6e6;
    }