• 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: 421px;
        }
      </style>
    </head>
    
    <body>
      <zing-grid caption="Company.employees" sort>
        <zg-data src="https://zinggrid-docs-crud-basics.glitch.me/company">
          <!-- define how to traverse the return object company.employees -->
          <zg-param name="recordPath" value="employees"></zg-param>
        </zg-data>
      </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>
        <zing-grid caption="Company.employees" sort>
          <zg-data src="https://zinggrid-docs-crud-basics.glitch.me/company">
            <!-- define how to traverse the return object company.employees -->
            <zg-param name="recordPath" value="employees"></zg-param>
          </zg-data>
        </zing-grid>
      </body>
    </html>
    body{background:#e6e6e6;}