• Edit
  • Download
  • <!DOCTYPE html>
    <html>
    
    <head>
      <meta charset="utf-8">
      <title>ZingGrid: Blank Grid</title>
      <script src="https://cdn.zinggrid.com/dev/zinggrid-dev.min.js" defer></script>
      <style>
        body {
          background: #e6e6e6;
        }
    
        zing-grid {
          --theme-background-zebra: #ef9a9a;
        }
    
        zing-grid[loading] {
          height: 346px;
        }
      </style>
    </head>
    
    <body>
    
      <zing-grid caption="EPL Top Scorers" zebra>
        <zg-data data='[
            {
              "playerName": "Eden Hazard",
              "playerClub": "Chelsea",
              "goalsScored": 5          
            },
            {
              "playerName": "Aleksandar Mitrovic",
              "playerClub": "Fulham",
              "goalsScored": 5   
            },
            {
              "playerName": "Sergio Agüero",
              "playerClub": "Manchester City",
              "goalsScored": 4   
            },
            {
              "playerName": "Romelu Lukaku",
              "playerClub": "Manchester United",
              "goalsScored": 4   
            },
            {
              "playerName": "Sadio Mané",
              "playerClub": "Liverpool",
              "goalsScored": 4   
            }
          ]'></zg-data>
      </zing-grid>
    
      <script></script>
    </body>
    
    </html>
    <!DOCTYPE html>
    <html>
    
    <head>
      <meta charset="utf-8">
      <title>ZingGrid: Blank Grid</title>
      <script src="https://cdn.zinggrid.com/dev/zinggrid-dev.min.js" defer></script>
    </head>
    
    <body>
    
      <zing-grid caption="EPL Top Scorers" zebra>
        <zg-data data='[
            {
              "playerName": "Eden Hazard",
              "playerClub": "Chelsea",
              "goalsScored": 5          
            },
            {
              "playerName": "Aleksandar Mitrovic",
              "playerClub": "Fulham",
              "goalsScored": 5   
            },
            {
              "playerName": "Sergio Agüero",
              "playerClub": "Manchester City",
              "goalsScored": 4   
            },
            {
              "playerName": "Romelu Lukaku",
              "playerClub": "Manchester United",
              "goalsScored": 4   
            },
            {
              "playerName": "Sadio Mané",
              "playerClub": "Liverpool",
              "goalsScored": 4   
            }
          ]'></zg-data>
      </zing-grid>
    
    </body>
    
    </html>
    body {
      background: #e6e6e6;
    }
    
    zing-grid {
      --theme-background-zebra: #ef9a9a;
    }