• 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>
        body {
          background: #e6e6e6;
        }
    
        zing-grid[loading] {
          height: 277px;
        }
      </style>
    </head>
    
    <body>
      <h3>`[columnResizableMaxWidth]` sets the maximum width columns can be set to when resizing.</h3>
      <zing-grid column-resizable-max-width=800 column-resizable-persistent column-resizable>
        <zg-caption>columnResizableMaxWidth Demo</zg-caption>
        <zg-data data='[
            {
              "name": "Maria",
              "number": 123
            },
            {
              "name": "Juanita",
              "number": 456
            },
            {
              "name": "Felicity",
              "number": 789
            }
          ]'>
        </zg-data>
      </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>
      <h3>`[columnResizableMaxWidth]` sets the maximum width columns can be set to when resizing.</h3>
      <zing-grid column-resizable-max-width=800 column-resizable-persistent column-resizable>
        <zg-caption>columnResizableMaxWidth Demo</zg-caption>
        <zg-data data='[
            {
              "name": "Maria",
              "number": 123
            },
            {
              "name": "Juanita",
              "number": 456
            },
            {
              "name": "Felicity",
              "number": 789
            }
          ]'>
        </zg-data>
      </zing-grid>
    </body>
    
    </html>
    body {
      background: #e6e6e6;
    }