• Edit
  • Download
  • <!DOCTYPE html>
    <html>
    
    <head>
      <meta charset="utf-8">
      <title>ZingGrid: Blank Grid</title>
      <script src="https://cdn.zinggrid.com/zinggrid.min.js" defer></script>
      <style>
        body {
          background: #e6e6e6;
        }
    
        zing-grid[loading] {
          height: 517px;
        }
      </style>
    </head>
    
    <body>
      <!-- Most features can be toggled on the toplevel zing-grid tag -->
      <zing-grid caption="Multiple Sources" default-display="Dog N/A" sort>
        <!-- dataset -->
        <zg-data data='[
          	{ "breed": "Cane Corso"},
          	{ "breed": "Pug", "name": "Doug"},
          	{ "breed": "Corgi", "name": "Jenny"},
          	{ "name": "Koda"},
          	{ "breed": "Great Dane", "name": "Zeus"},
          	{ "breed": "Frenchie", "name": "Bruce"},
          	{ "breed": "Cane Corso", "name": "Sofia"},
          	{ "breed": null, "name": "Snowball"}
          ]'></zg-data>
        <zg-column index="breed" default-display="Breed N/A"></zg-column>
        <zg-column index="name"></zg-column>
      </zing-grid>
    
      <script></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" defer></script>
    </head>
    
    <body>
      <!-- Most features can be toggled on the toplevel zing-grid tag -->
      <zing-grid caption="Multiple Sources" default-display="Dog N/A" sort>
        <!-- dataset -->
        <zg-data data='[
          	{ "breed": "Cane Corso"},
          	{ "breed": "Pug", "name": "Doug"},
          	{ "breed": "Corgi", "name": "Jenny"},
          	{ "name": "Koda"},
          	{ "breed": "Great Dane", "name": "Zeus"},
          	{ "breed": "Frenchie", "name": "Bruce"},
          	{ "breed": "Cane Corso", "name": "Sofia"},
          	{ "breed": null, "name": "Snowball"}
          ]'></zg-data>
        <zg-column index="breed" default-display="Breed N/A"></zg-column>
        <zg-column index="name"></zg-column>
      </zing-grid>
    
    </body>
    
    </html>
    body {
      background: #e6e6e6;
    }