• Edit
  • Download
  • <!DOCTYPE html>
    <html>
    
    <head>
      <meta charset="utf-8">
      <title>ZingGrid: Docs Getting Started</title>
      <!--Script Reference[1]-->
      <script src="https://cdn.zinggrid.com/dev/zinggrid-dev.min.js" defer></script>
      <style>
        zing-grid[loading] {
          height: 703px;
        }
      </style>
    </head>
    
    <body>
      <!--Grid Component Placement[2]-->
      <zing-grid caption="Our Favorite Characters" sort search lang="us" pager editor-controls page-size="10" page-size-options="5,10" layout="row" viewport-stop data='[
            {
              "name": "Philip J. Fry",
              "show": "Futurama",
              "origin": "Earth"
            },
            {
              "name": "Rick Sanchez",
              "show": "Rick and Morty",
              "origin": "C-137"
            },
            {
              "name": "Turanga Leela",
              "show": "Futurama",
              "origin": "Earth"
            },
            {
              "name": "Mr. Meeseeks",
              "show": "Rick and Morty",
              "origin": "C-137"
            },
            {
              "name": "Morty Smith",
              "show": "Rick and Morty",
              "origin": "C-137"
            },
            {
              "name": "Bender Bending Rodriguez",
              "show": "Futurama",
              "origin": "Earth"
            },
            {
              "name": "Amy Wong",
              "show": "Futurama",
              "origin": "Earth"
            },
            {
              "name": "Bird Person",
              "show": "Rick and Morty",
              "origin": "C-137"
            },
            {
              "name": "Doctor John Zoidberg",
              "show": "Futurama",
              "origin": "Decapod 10"
            },
            {
              "name": "Summer Smith",
              "show": "Rick and Morty",
              "origin": "C-137"
            },
            {
              "name": "Lord Nibbler",
              "show": "Futurama",
              "origin": "Earth"
            }
          ]'>
      </zing-grid>
      <script>
        // window:load event for Javascript to run after HTML
        // because this Javascript is injected into the document head
        window.addEventListener('load', () => {
          // content after DOM load
        });
      </script>
    </body>
    
    </html>
    <!DOCTYPE html>
    <html>
    
    <head>
      <meta charset="utf-8">
      <title>ZingGrid: Docs Getting Started</title>
      <!--Script Reference[1]-->
      <script src="https://cdn.zinggrid.com/dev/zinggrid-dev.min.js" defer></script>
    </head>
    
    <body>
      <!--Grid Component Placement[2]-->
      <zing-grid caption="Our Favorite Characters" sort search lang="us" pager editor-controls page-size="10" page-size-options="5,10" layout="row" viewport-stop data='[
            {
              "name": "Philip J. Fry",
              "show": "Futurama",
              "origin": "Earth"
            },
            {
              "name": "Rick Sanchez",
              "show": "Rick and Morty",
              "origin": "C-137"
            },
            {
              "name": "Turanga Leela",
              "show": "Futurama",
              "origin": "Earth"
            },
            {
              "name": "Mr. Meeseeks",
              "show": "Rick and Morty",
              "origin": "C-137"
            },
            {
              "name": "Morty Smith",
              "show": "Rick and Morty",
              "origin": "C-137"
            },
            {
              "name": "Bender Bending Rodriguez",
              "show": "Futurama",
              "origin": "Earth"
            },
            {
              "name": "Amy Wong",
              "show": "Futurama",
              "origin": "Earth"
            },
            {
              "name": "Bird Person",
              "show": "Rick and Morty",
              "origin": "C-137"
            },
            {
              "name": "Doctor John Zoidberg",
              "show": "Futurama",
              "origin": "Decapod 10"
            },
            {
              "name": "Summer Smith",
              "show": "Rick and Morty",
              "origin": "C-137"
            },
            {
              "name": "Lord Nibbler",
              "show": "Futurama",
              "origin": "Earth"
            }
          ]'>
      </zing-grid>
    </body>
    
    </html>
    
          
    // window:load event for Javascript to run after HTML
    // because this Javascript is injected into the document head
    window.addEventListener('load', () => {
      // content after DOM load
    });