• Edit
  • Download
  • <!DOCTYPE html>
    <html>
    
    <head>
      <meta charset="utf-8">
      <title>ZingGrid: Blank Grid</title>
      <script nonce="undefined" src="https://cdn.zinggrid.com/zinggrid.min.js"></script>
      <style>
        body {
          background: #e6e6e6;
        }
    
        zing-grid[loading] {
          height: 631px;
        }
      </style>
    </head>
    
    <body>
      <!-- Most features can be toggled on the toplevel zing-grid tag -->
      <zing-grid caption="Employees" columns-control column-drag layout-controls pager page-size="4" page-size-options="2,4,8" search sort src="https://cdn.zinggrid.com/datasets/users.json">
        <zg-colgroup>
          <zg-column index="img" header=" " menu-text="Img" type="image" cell-class="profile-avatar" content-width="50px" sort="disabled"></zg-column>
          <zg-column index="name,actor" header="Character" cell-class="character-info">
            <span class="character-info--header"><strong>Name:</strong> [[index.name]]</span>
            <br>
            <span class="character-info--subheader"><strong>Voice By:</strong> [[index.actor]]</span>
          </zg-column>
          <zg-column index="description" width="300"></zg-column>
          <zg-column header="1st Episode" index="episode_link" type="url" type-url-icon="outsidearrow">
          </zg-column>
        </zg-colgroup>
      </zing-grid>
      <script>
        ZingGrid.setLicense(['26ccbfec16b8be9ee98c7d57bee6e498']);
      </script>
    </body>
    
    </html>
    <!DOCTYPE html>
    <html>
    
    <head>
      <meta charset="utf-8">
      <title>ZingGrid: Blank Grid</title>
      <script src="https://cdn.zinggrid.com/zinggrid.min.js"></script>
    </head>
    
    <body>
      <!-- Most features can be toggled on the toplevel zing-grid tag -->
      <zing-grid caption="Employees" columns-control column-drag layout-controls pager page-size="4" page-size-options="2,4,8" search sort src="https://cdn.zinggrid.com/datasets/users.json">
        <zg-colgroup>
          <zg-column index="img" header=" " menu-text="Img" type="image" cell-class="profile-avatar" content-width="50px" sort="disabled"></zg-column>
          <zg-column index="name,actor" header="Character" cell-class="character-info">
            <span class="character-info--header"><strong>Name:</strong> [[index.name]]</span>
            <br>
            <span class="character-info--subheader"><strong>Voice By:</strong> [[index.actor]]</span>
          </zg-column>
          <zg-column index="description" width="300"></zg-column>
          <zg-column header="1st Episode" index="episode_link" type="url" type-url-icon="outsidearrow">
          </zg-column>
        </zg-colgroup>
      </zing-grid>
    </body>
    
    </html>
    body {
      background: #e6e6e6;
    }