• Edit
  • Download
  • <!DOCTYPE html>
    <html class="zg-html">
    
    <head>
      <meta charset="utf-8">
      <title>ZingGrid: Blank Grid</title>
      <script nonce="undefined" src="https://cdn.zinggrid.com/dev/zinggrid-dev.min.js"></script>
      <style>
        body {
          background: #e6e6e6;
        }
    
        zing-grid[loading] {
          height: 1114px;
        }
      </style>
    </head>
    
    <body class="zg-body">
    
      <h3>`[frozenRowsTop]` and `[frozenRowsBottom]` moves specified row(s) to the frozen top/bottom panel.</h3>
      <zing-grid frozen-rows-top=1 frozen-rows-bottom=2 height=500>
        <zg-caption>frozenRows Demo</zg-caption>
        <zg-data src="https://cdn.zinggrid.com/datasets/got-deaths.json"></zg-data>
        <zg-colgroup>
          <zg-column index="order"></zg-column>
          <zg-column index="season"></zg-column>
          <zg-column index="episode"></zg-column>
          <zg-column index="character_killed"></zg-column>
          <zg-column index="killer"></zg-column>
          <zg-column index="method"></zg-column>
          <zg-column index="method_cat"></zg-column>
          <zg-column index="reason"></zg-column>
          <zg-column index="location"></zg-column>
          <zg-column index="allegiance"></zg-column>
          <zg-column index="importance"></zg-column>
        </zg-colgroup>
      </zing-grid>
    
      <script>
        ZingGrid.setLicense(['26ccbfec16b8be9ee98c7d57bee6e498']);
      </script>
    </body>
    
    </html>
    <!DOCTYPE html>
    <html class="zg-html">
    
    <head>
      <meta charset="utf-8">
      <title>ZingGrid: Blank Grid</title>
      <script src="https://cdn.zinggrid.com/dev/zinggrid-dev.min.js"></script>
    </head>
    
    <body class="zg-body">
    
      <h3>`[frozenRowsTop]` and `[frozenRowsBottom]` moves specified row(s) to the frozen top/bottom panel.</h3>
      <zing-grid frozen-rows-top=1 frozen-rows-bottom=2 height=500>
        <zg-caption>frozenRows Demo</zg-caption>
        <zg-data src="https://cdn.zinggrid.com/datasets/got-deaths.json"></zg-data>
        <zg-colgroup>
          <zg-column index="order"></zg-column>
          <zg-column index="season"></zg-column>
          <zg-column index="episode"></zg-column>
          <zg-column index="character_killed"></zg-column>
          <zg-column index="killer"></zg-column>
          <zg-column index="method"></zg-column>
          <zg-column index="method_cat"></zg-column>
          <zg-column index="reason"></zg-column>
          <zg-column index="location"></zg-column>
          <zg-column index="allegiance"></zg-column>
          <zg-column index="importance"></zg-column>
        </zg-colgroup>
      </zing-grid>
    
    </body>
    
    </html>
    body {
      background: #e6e6e6;
    }