• Edit
  • Download
  • <!DOCTYPE html>
    <html>
    
    <head>
      <meta charset="utf-8">
      <title>ZingGrid Demo</title>
      <script src="https://cdn.zinggrid.com/zinggrid.min.js" defer></script>
      <style>
        zing-grid[loading] {
          height: 213px;
        }
      </style>
    </head>
    
    <body>
      <zing-grid editor>
        <zg-data data='[{
            "page": "Your First Grid",
            "link": "/docs/your-first-grid"
          },
          {
            "page": "Types",
            "link": "/docs/column-types"
          },
          {
            "page": "Default Themes",
            "link": "/docs/default-themes"
          }]'>
        </zg-data>
        <zg-colgroup>
          <zg-column index="page" header="Favorite page" type="text"></zg-column>
          <zg-column index="link" header="Link" type="url"></zg-column>
        </zg-colgroup>
      </zing-grid>
      <script>
        const test = 'ad';
      </script>
    </body>
    
    </html>
    <!DOCTYPE html>
    <html>
    
    <head>
      <meta charset="utf-8">
      <title>ZingGrid Demo</title>
      <script src="https://cdn.zinggrid.com/zinggrid.min.js" defer></script>
    </head>
    
    <body>
      <zing-grid editor>
        <zg-data data='[{
            "page": "Your First Grid",
            "link": "/docs/your-first-grid"
          },
          {
            "page": "Types",
            "link": "/docs/column-types"
          },
          {
            "page": "Default Themes",
            "link": "/docs/default-themes"
          }]'>
        </zg-data>
        <zg-colgroup>
          <zg-column index="page" header="Favorite page" type="text"></zg-column>
          <zg-column index="link" header="Link" type="url"></zg-column>
        </zg-colgroup>
      </zing-grid>
    </body>
    
    </html>
    
          
    const test = 'ad';