• Edit
  • Download
  • <!DOCTYPE html>
    <html>
    
    <head>
      <meta charset="utf-8">
      <title>ZingGrid Demo</title>
      <script nonce="undefined" src="https://cdn.zinggrid.com/zinggrid.min.js"></script>
      <style>
        .zg-body {
          background: #e6e6e6;
        }
    
        .zg-body zing-grid[loading] {
          height: 400px;
        }
    
        .zg-body zing-grid+zing-grid {
          margin-top: 2rem;
        }
    
        zing-grid[loading] {
          height: 376px;
        }
      </style>
    </head>
    
    <body class="zg-body">
    
      <!-- Next/Prev Arrow Controls -->
      <zing-grid pager pager-type="button-arrows" page-size="1" data='[
            { "first": "Maria", "last": "John", "number": 123 },
            { "first": "David", "last": "Smith", "number": 456 },
            { "first": "Felicity", "last": "Snow", "number": 789 }
          ]'>
      </zing-grid>
    
      <!-- Next/Prev Text Controls -->
      <zing-grid pager pager-type="button-text" page-size="1" data='[
            { "first": "Maria", "last": "John", "number": 123 },
            { "first": "David", "last": "Smith", "number": 456 },
            { "first": "Felicity", "last": "Snow", "number": 789 }
          ]'>
      </zing-grid>
      <script>
        ZingGrid.setLicense(['26ccbfec16b8be9ee98c7d57bee6e498']);
      </script>
    </body>
    
    </html>
    <!DOCTYPE html>
    <html>
    
    <head>
      <meta charset="utf-8">
      <title>ZingGrid Demo</title>
      <script src="https://cdn.zinggrid.com/zinggrid.min.js"></script>
    </head>
    
    <body class="zg-body">
    
      <!-- Next/Prev Arrow Controls -->
      <zing-grid pager pager-type="button-arrows" page-size="1" data='[
            { "first": "Maria", "last": "John", "number": 123 },
            { "first": "David", "last": "Smith", "number": 456 },
            { "first": "Felicity", "last": "Snow", "number": 789 }
          ]'>
      </zing-grid>
    
      <!-- Next/Prev Text Controls -->
      <zing-grid pager pager-type="button-text" page-size="1" data='[
            { "first": "Maria", "last": "John", "number": 123 },
            { "first": "David", "last": "Smith", "number": 456 },
            { "first": "Felicity", "last": "Snow", "number": 789 }
          ]'>
      </zing-grid>
    </body>
    
    </html>
    .zg-body {
      background: #e6e6e6;
    }
    
    .zg-body zing-grid[loading] {
      height: 400px;
    }
    
    .zg-body zing-grid+zing-grid {
      margin-top: 2rem;
    }