• Edit
  • Download
  • <!DOCTYPE html>
    <html>
    
    <head>
      <meta charset="utf-8">
      <title>ZingSoft demo</title>
      <script nonce="undefined" src="https://cdn.zinggrid.com/zinggrid.min.js"></script>
      <style>
        zing-grid[loading] {
          height: 17px;
        }
      </style>
    </head>
    
    <body>
      <zing-grid>
        <zg-caption>gravatar column type Demo</zg-caption>
        <zg-colgroup>
          <zg-column index="email" type="gravatar" content-width=50 type-image-mask="circle"></zg-column>
          <zg-column index="email"></zg-column>
        </zg-colgroup>
        <zg-data data='[
            { "email": "test1@example.com" },
            { "email": "test2@example.com" },
            { "email": "test3@example.com" },
            { "email": "test4@example.com" },
            { "email": "support@github.com" }
          ]'>
        </zg-data>
      </zing-grid>
      <script>
        ZingGrid.setLicense(['26ccbfec16b8be9ee98c7d57bee6e498']);
      </script>
    </body>
    
    </html>
    <!DOCTYPE html>
    <html>
    
    <head>
      <meta charset="utf-8">
      <title>ZingSoft demo</title>
      <script src="https://cdn.zinggrid.com/zinggrid.min.js"></script>
    </head>
    
    <body>
      <zing-grid>
        <zg-caption>gravatar column type Demo</zg-caption>
        <zg-colgroup>
          <zg-column index="email" type="gravatar" content-width=50 type-image-mask="circle"></zg-column>
          <zg-column index="email"></zg-column>
        </zg-colgroup>
        <zg-data data='[
            { "email": "test1@example.com" },
            { "email": "test2@example.com" },
            { "email": "test3@example.com" },
            { "email": "test4@example.com" },
            { "email": "support@github.com" }
          ]'>
        </zg-data>
      </zing-grid>
    </body>
    
    </html>